diff --git a/altair/vegalite/v5/schema/channels.py b/altair/vegalite/v5/schema/channels.py index 6e0ca993b..7f83b4a8a 100644 --- a/altair/vegalite/v5/schema/channels.py +++ b/altair/vegalite/v5/schema/channels.py @@ -254,9 +254,9 @@ class Angle(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDef Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -268,7 +268,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -289,14 +289,14 @@ class Angle(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDef **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -311,7 +311,7 @@ class Angle(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDef about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : dict, None, :class:`Legend` + legend : Map, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -320,7 +320,7 @@ class Angle(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDef **See also:** `legend `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -333,7 +333,7 @@ class Angle(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDef **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -371,7 +371,7 @@ class Angle(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDef **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -497,7 +497,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -512,8 +512,8 @@ def bin(self, _: None, **kwds) -> Angle: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Angle: ... @@ -522,7 +522,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Angle: ... @@ -544,110 +544,106 @@ def field( @overload def legend( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - clipHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columnPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columns: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + clipHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columnPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columns: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, direction: Optional[SchemaBase | Orientation_T] = Undefined, fillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - gradientLength: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gradientOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + gradientLength: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, gradientStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - gradientStrokeWidth: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - gradientThickness: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridAlign: Optional[dict | Parameter | SchemaBase | LayoutAlign_T] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + gradientStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientThickness: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridAlign: Optional[Map | Parameter | SchemaBase | LayoutAlign_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, orient: Optional[SchemaBase | LegendOrient_T] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - rowPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + rowPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, strokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, symbolDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - symbolDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolFillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolStrokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolType: Optional[str | dict | Parameter | SchemaBase] = Undefined, + symbolStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolType: Optional[Map | str | Parameter | SchemaBase] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOrient: Optional[dict | Parameter | SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOrient: Optional[Map | Parameter | SchemaBase | Orient_T] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, type: Optional[Literal["symbol", "gradient"]] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -659,45 +655,45 @@ def legend(self, _: None, **kwds) -> Angle: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> Angle: ... @@ -728,7 +724,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> Angle: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -826,28 +822,26 @@ def type(self, _: StandardType_T, **kwds) -> Angle: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -881,14 +875,14 @@ 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 : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -987,8 +981,8 @@ def bandPosition(self, _: float, **kwds) -> AngleDatum: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> AngleDatum: ... @@ -997,7 +991,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> AngleDatum: ... @@ -1022,9 +1016,7 @@ def __init__( self, datum, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -1048,9 +1040,9 @@ class AngleValue( Parameters ---------- - condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : dict, float, :class:`ExprRef` + value : Map, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -1062,25 +1054,25 @@ class AngleValue( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -1092,11 +1084,11 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -1105,26 +1097,26 @@ def condition( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -1136,12 +1128,12 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, empty: Optional[bool] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -1150,8 +1142,8 @@ def condition( @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> AngleValue: ... @@ -1160,7 +1152,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> AngleValue: ... @@ -1172,9 +1164,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -1190,9 +1180,9 @@ class Color( Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -1204,7 +1194,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -1225,14 +1215,14 @@ class Color( **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] + condition : Map, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -1247,7 +1237,7 @@ class Color( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : dict, None, :class:`Legend` + legend : Map, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -1256,7 +1246,7 @@ class Color( **See also:** `legend `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -1269,7 +1259,7 @@ class Color( **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -1307,7 +1297,7 @@ class Color( **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -1433,7 +1423,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -1448,8 +1438,8 @@ def bin(self, _: None, **kwds) -> Color: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> Color: ... @@ -1458,7 +1448,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> Color: ... @@ -1480,110 +1470,106 @@ def field( @overload def legend( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - clipHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columnPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columns: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + clipHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columnPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columns: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, direction: Optional[SchemaBase | Orientation_T] = Undefined, fillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - gradientLength: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gradientOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + gradientLength: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, gradientStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - gradientStrokeWidth: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - gradientThickness: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridAlign: Optional[dict | Parameter | SchemaBase | LayoutAlign_T] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + gradientStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientThickness: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridAlign: Optional[Map | Parameter | SchemaBase | LayoutAlign_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, orient: Optional[SchemaBase | LegendOrient_T] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - rowPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + rowPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, strokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, symbolDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - symbolDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolFillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolStrokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolType: Optional[str | dict | Parameter | SchemaBase] = Undefined, + symbolStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolType: Optional[Map | str | Parameter | SchemaBase] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOrient: Optional[dict | Parameter | SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOrient: Optional[Map | Parameter | SchemaBase | Orient_T] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, type: Optional[Literal["symbol", "gradient"]] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -1595,45 +1581,45 @@ def legend(self, _: None, **kwds) -> Color: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> Color: ... @@ -1664,7 +1650,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> Color: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -1762,28 +1748,26 @@ def type(self, _: StandardType_T, **kwds) -> Color: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -1819,14 +1803,14 @@ 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 : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] + condition : Map, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -1925,8 +1909,8 @@ def bandPosition(self, _: float, **kwds) -> ColorDatum: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> ColorDatum: ... @@ -1935,7 +1919,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> ColorDatum: ... @@ -1960,9 +1944,7 @@ def __init__( self, datum, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -1987,9 +1969,9 @@ class ColorValue( Parameters ---------- - condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] + condition : Map, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[Map, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : str, dict, None, :class:`ExprRef`, :class:`Gradient`, :class:`LinearGradient`, :class:`RadialGradient` + value : Map, str, 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). @@ -2001,25 +1983,25 @@ class ColorValue( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -2031,11 +2013,11 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -2044,26 +2026,26 @@ def condition( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -2075,12 +2057,12 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, empty: Optional[bool] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -2089,8 +2071,8 @@ def condition( @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> ColorValue: ... @@ -2099,7 +2081,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> ColorValue: ... @@ -2111,9 +2093,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -2126,9 +2106,9 @@ class Column(FieldChannelMixin, core.RowColumnEncodingFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -2153,7 +2133,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -2179,7 +2159,7 @@ class Column(FieldChannelMixin, core.RowColumnEncodingFieldDef): respective rows or columns. **Default value:** ``false`` - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -2194,9 +2174,9 @@ class Column(FieldChannelMixin, core.RowColumnEncodingFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - header : dict, None, :class:`Header` + header : Map, None, :class:`Header` An object defining properties of a facet's header. - sort : dict, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'] + sort : Map, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[Map, :class:`DateTime`], Literal['ascending', 'descending'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -2228,7 +2208,7 @@ class Column(FieldChannelMixin, core.RowColumnEncodingFieldDef): **Default value**: Depends on ``"spacing"`` property of `the view composition configuration `__ (``20`` by default) - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -2357,7 +2337,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -2385,50 +2365,50 @@ def field( @overload def header( self, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelAnchor: Optional[SchemaBase | TitleAnchor_T] = Undefined, labelAngle: Optional[float] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOrient: Optional[SchemaBase | Orient_T] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, labels: Optional[bool] = Undefined, orient: Optional[SchemaBase | Orient_T] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, titleAnchor: Optional[SchemaBase | TitleAnchor_T] = Undefined, titleAngle: Optional[float] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, titleOrient: Optional[SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Column: ... @@ -2453,7 +2433,7 @@ def sort(self, _: SortOrder_T, **kwds) -> Column: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -2546,27 +2526,27 @@ def type(self, _: StandardType_T, **kwds) -> Column: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, align: Optional[SchemaBase | LayoutAlign_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, center: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - header: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + header: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | SortOrder_T ] = Undefined, spacing: Optional[float] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -2597,9 +2577,9 @@ class Description(FieldChannelMixin, core.StringFieldDefWithCondition): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -2611,7 +2591,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -2632,14 +2612,14 @@ class Description(FieldChannelMixin, core.StringFieldDefWithCondition): **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`] + condition : Map, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -2654,7 +2634,7 @@ class Description(FieldChannelMixin, core.StringFieldDefWithCondition): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -2686,7 +2666,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 : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -2812,7 +2792,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -2830,8 +2810,8 @@ def bin(self, _: None, **kwds) -> Description: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase] = Undefined, **kwds, ) -> Description: ... @@ -2840,7 +2820,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase] = Undefined, **kwds, ) -> Description: ... @@ -2863,7 +2843,7 @@ def field( def format(self, _: str, **kwds) -> Description: ... @overload - def format(self, _: dict, **kwds) -> Description: ... + def format(self, _: Map, **kwds) -> Description: ... @overload def formatType(self, _: str, **kwds) -> Description: ... @@ -2949,18 +2929,16 @@ def type(self, _: StandardType_T, **kwds) -> Description: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -2989,9 +2967,9 @@ class DescriptionValue(ValueChannelMixin, core.StringValueDefWithCondition): Parameters ---------- - condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] + condition : Map, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[Map, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : str, dict, None, :class:`ExprRef` + value : Map, str, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -3003,25 +2981,25 @@ class DescriptionValue(ValueChannelMixin, core.StringValueDefWithCondition): @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -3033,11 +3011,11 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -3046,26 +3024,26 @@ def condition( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -3077,12 +3055,12 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, empty: Optional[bool] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -3091,8 +3069,8 @@ def condition( @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> DescriptionValue: ... @@ -3101,7 +3079,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> DescriptionValue: ... @@ -3113,9 +3091,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -3130,9 +3106,9 @@ class Detail(FieldChannelMixin, core.FieldDefWithoutScale): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -3144,7 +3120,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -3165,7 +3141,7 @@ class Detail(FieldChannelMixin, core.FieldDefWithoutScale): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -3180,7 +3156,7 @@ class Detail(FieldChannelMixin, core.FieldDefWithoutScale): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -3306,7 +3282,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -3412,13 +3388,13 @@ def type(self, _: StandardType_T, **kwds) -> Detail: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -3444,9 +3420,9 @@ class Facet(FieldChannelMixin, core.FacetEncodingFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -3454,7 +3430,7 @@ class Facet(FieldChannelMixin, core.FacetEncodingFieldDef): **See also:** `aggregate `__ documentation. - align : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] + align : Map, :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"``. @@ -3474,7 +3450,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -3506,7 +3482,7 @@ class Facet(FieldChannelMixin, core.FacetEncodingFieldDef): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : bool, dict, :class:`RowColboolean` + center : Map, bool, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -3531,7 +3507,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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -3546,9 +3522,9 @@ class Facet(FieldChannelMixin, core.FacetEncodingFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - header : dict, None, :class:`Header` + header : Map, None, :class:`Header` An object defining properties of a facet's header. - sort : dict, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'] + sort : Map, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[Map, :class:`DateTime`], Literal['ascending', 'descending'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -3574,7 +3550,7 @@ class Facet(FieldChannelMixin, core.FacetEncodingFieldDef): **Default value:** ``"ascending"`` **Note:** ``null`` is not supported for ``row`` and ``column``. - spacing : dict, float, :class:`RowColnumber` + spacing : Map, 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. @@ -3582,7 +3558,7 @@ class Facet(FieldChannelMixin, core.FacetEncodingFieldDef): **Default value**: Depends on ``"spacing"`` property of `the view composition configuration `__ (``20`` by default) - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -3719,7 +3695,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -3761,50 +3737,50 @@ def field( @overload def header( self, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelAnchor: Optional[SchemaBase | TitleAnchor_T] = Undefined, labelAngle: Optional[float] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOrient: Optional[SchemaBase | Orient_T] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, labels: Optional[bool] = Undefined, orient: Optional[SchemaBase | Orient_T] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, titleAnchor: Optional[SchemaBase | TitleAnchor_T] = Undefined, titleAngle: Optional[float] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, titleOrient: Optional[SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Facet: ... @@ -3829,7 +3805,7 @@ def sort(self, _: SortOrder_T, **kwds) -> Facet: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -3930,29 +3906,29 @@ def type(self, _: StandardType_T, **kwds) -> Facet: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, - align: Optional[dict | SchemaBase | LayoutAlign_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, + align: Optional[Map | SchemaBase | LayoutAlign_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, bounds: Optional[Literal["full", "flush"]] = Undefined, - center: Optional[bool | dict | SchemaBase] = Undefined, + center: Optional[Map | bool | SchemaBase] = Undefined, columns: Optional[float] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - header: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + header: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | SortOrder_T ] = Undefined, - spacing: Optional[dict | float | SchemaBase] = Undefined, + spacing: Optional[Map | float | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -3988,9 +3964,9 @@ class Fill( Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -4002,7 +3978,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -4023,14 +3999,14 @@ class Fill( **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] + condition : Map, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -4045,7 +4021,7 @@ class Fill( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : dict, None, :class:`Legend` + legend : Map, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -4054,7 +4030,7 @@ class Fill( **See also:** `legend `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -4067,7 +4043,7 @@ class Fill( **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -4105,7 +4081,7 @@ class Fill( **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -4231,7 +4207,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -4246,8 +4222,8 @@ def bin(self, _: None, **kwds) -> Fill: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> Fill: ... @@ -4256,7 +4232,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> Fill: ... @@ -4278,110 +4254,106 @@ def field( @overload def legend( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - clipHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columnPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columns: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + clipHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columnPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columns: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, direction: Optional[SchemaBase | Orientation_T] = Undefined, fillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - gradientLength: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gradientOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + gradientLength: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, gradientStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - gradientStrokeWidth: Optional[ - dict | float | Parameter | SchemaBase + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - gradientThickness: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridAlign: Optional[dict | Parameter | SchemaBase | LayoutAlign_T] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + gradientStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientThickness: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridAlign: Optional[Map | Parameter | SchemaBase | LayoutAlign_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, orient: Optional[SchemaBase | LegendOrient_T] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - rowPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + rowPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, strokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, symbolDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - symbolDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolFillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolStrokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolType: Optional[str | dict | Parameter | SchemaBase] = Undefined, + symbolStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolType: Optional[Map | str | Parameter | SchemaBase] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOrient: Optional[dict | Parameter | SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOrient: Optional[Map | Parameter | SchemaBase | Orient_T] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, type: Optional[Literal["symbol", "gradient"]] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -4393,45 +4365,45 @@ def legend(self, _: None, **kwds) -> Fill: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> Fill: ... @@ -4462,7 +4434,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> Fill: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -4560,28 +4532,26 @@ def type(self, _: StandardType_T, **kwds) -> Fill: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -4617,14 +4587,14 @@ 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 : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] + condition : Map, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -4723,8 +4693,8 @@ def bandPosition(self, _: float, **kwds) -> FillDatum: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> FillDatum: ... @@ -4733,7 +4703,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> FillDatum: ... @@ -4758,9 +4728,7 @@ def __init__( self, datum, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -4785,9 +4753,9 @@ class FillValue( Parameters ---------- - condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] + condition : Map, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[Map, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : str, dict, None, :class:`ExprRef`, :class:`Gradient`, :class:`LinearGradient`, :class:`RadialGradient` + value : Map, str, 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). @@ -4799,25 +4767,25 @@ class FillValue( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -4829,11 +4797,11 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -4842,26 +4810,26 @@ def condition( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -4873,12 +4841,12 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, empty: Optional[bool] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -4887,8 +4855,8 @@ def condition( @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> FillValue: ... @@ -4897,7 +4865,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> FillValue: ... @@ -4909,9 +4877,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -4926,9 +4892,9 @@ class FillOpacity( Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -4940,7 +4906,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -4961,14 +4927,14 @@ class FillOpacity( **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -4983,7 +4949,7 @@ class FillOpacity( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : dict, None, :class:`Legend` + legend : Map, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -4992,7 +4958,7 @@ class FillOpacity( **See also:** `legend `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -5005,7 +4971,7 @@ class FillOpacity( **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -5043,7 +5009,7 @@ class FillOpacity( **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -5169,7 +5135,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -5184,8 +5150,8 @@ def bin(self, _: None, **kwds) -> FillOpacity: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> FillOpacity: ... @@ -5194,7 +5160,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> FillOpacity: ... @@ -5216,110 +5182,106 @@ def field( @overload def legend( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - clipHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columnPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columns: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + clipHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columnPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columns: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, direction: Optional[SchemaBase | Orientation_T] = Undefined, fillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - gradientLength: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gradientOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + gradientLength: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, gradientStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - gradientStrokeWidth: Optional[ - dict | float | Parameter | SchemaBase + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - gradientThickness: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridAlign: Optional[dict | Parameter | SchemaBase | LayoutAlign_T] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + gradientStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientThickness: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridAlign: Optional[Map | Parameter | SchemaBase | LayoutAlign_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, orient: Optional[SchemaBase | LegendOrient_T] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - rowPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + rowPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, strokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, symbolDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - symbolDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolFillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolStrokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolType: Optional[str | dict | Parameter | SchemaBase] = Undefined, + symbolStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolType: Optional[Map | str | Parameter | SchemaBase] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOrient: Optional[dict | Parameter | SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOrient: Optional[Map | Parameter | SchemaBase | Orient_T] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, type: Optional[Literal["symbol", "gradient"]] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -5331,45 +5293,45 @@ def legend(self, _: None, **kwds) -> FillOpacity: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> FillOpacity: ... @@ -5400,7 +5362,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> FillOpacity: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -5498,28 +5460,26 @@ def type(self, _: StandardType_T, **kwds) -> FillOpacity: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -5555,14 +5515,14 @@ 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 : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -5661,8 +5621,8 @@ def bandPosition(self, _: float, **kwds) -> FillOpacityDatum: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> FillOpacityDatum: ... @@ -5671,7 +5631,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> FillOpacityDatum: ... @@ -5696,9 +5656,7 @@ def __init__( self, datum, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -5722,9 +5680,9 @@ class FillOpacityValue( Parameters ---------- - condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : dict, float, :class:`ExprRef` + value : Map, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -5736,25 +5694,25 @@ class FillOpacityValue( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -5766,11 +5724,11 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -5779,26 +5737,26 @@ def condition( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -5810,12 +5768,12 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, empty: Optional[bool] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -5824,8 +5782,8 @@ def condition( @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> FillOpacityValue: ... @@ -5834,7 +5792,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> FillOpacityValue: ... @@ -5846,9 +5804,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -5861,9 +5817,9 @@ class Href(FieldChannelMixin, core.StringFieldDefWithCondition): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -5875,7 +5831,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -5896,14 +5852,14 @@ class Href(FieldChannelMixin, core.StringFieldDefWithCondition): **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`] + condition : Map, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -5918,7 +5874,7 @@ class Href(FieldChannelMixin, core.StringFieldDefWithCondition): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -5950,7 +5906,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 : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -6076,7 +6032,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -6094,8 +6050,8 @@ def bin(self, _: None, **kwds) -> Href: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase] = Undefined, **kwds, ) -> Href: ... @@ -6104,7 +6060,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase] = Undefined, **kwds, ) -> Href: ... @@ -6127,7 +6083,7 @@ def field( def format(self, _: str, **kwds) -> Href: ... @overload - def format(self, _: dict, **kwds) -> Href: ... + def format(self, _: Map, **kwds) -> Href: ... @overload def formatType(self, _: str, **kwds) -> Href: ... @@ -6213,18 +6169,16 @@ def type(self, _: StandardType_T, **kwds) -> Href: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -6253,9 +6207,9 @@ class HrefValue(ValueChannelMixin, core.StringValueDefWithCondition): Parameters ---------- - condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] + condition : Map, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[Map, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : str, dict, None, :class:`ExprRef` + value : Map, str, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -6267,25 +6221,25 @@ class HrefValue(ValueChannelMixin, core.StringValueDefWithCondition): @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -6297,11 +6251,11 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -6310,26 +6264,26 @@ def condition( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -6341,12 +6295,12 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, empty: Optional[bool] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -6355,8 +6309,8 @@ def condition( @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> HrefValue: ... @@ -6365,7 +6319,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> HrefValue: ... @@ -6377,9 +6331,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -6394,9 +6346,9 @@ class Key(FieldChannelMixin, core.FieldDefWithoutScale): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -6408,7 +6360,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -6429,7 +6381,7 @@ class Key(FieldChannelMixin, core.FieldDefWithoutScale): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -6444,7 +6396,7 @@ class Key(FieldChannelMixin, core.FieldDefWithoutScale): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -6570,7 +6522,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -6676,13 +6628,13 @@ def type(self, _: StandardType_T, **kwds) -> Key: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -6708,9 +6660,9 @@ class Latitude(FieldChannelMixin, core.LatLongFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -6743,7 +6695,7 @@ class Latitude(FieldChannelMixin, core.LatLongFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -6758,7 +6710,7 @@ class Latitude(FieldChannelMixin, core.LatLongFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -6968,13 +6920,13 @@ def type(self, _: Literal["quantitative"], **kwds) -> Latitude: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, bin: Optional[None] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[Literal["quantitative"]] = Undefined, @@ -7004,7 +6956,7 @@ 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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -7135,9 +7087,9 @@ class Latitude2(FieldChannelMixin, core.SecondaryFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -7170,7 +7122,7 @@ class Latitude2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -7185,7 +7137,7 @@ class Latitude2(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -7326,13 +7278,13 @@ def title(self, _: None, **kwds) -> Latitude2: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, bin: Optional[None] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, **kwds, @@ -7360,7 +7312,7 @@ 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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -7491,7 +7443,7 @@ class Latitude2Value(ValueChannelMixin, core.PositionValueDef): Parameters ---------- - value : dict, float, :class:`ExprRef`, Literal['height', 'width'] + value : Map, float, :class:`ExprRef`, Literal['height', 'width'] A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -7511,9 +7463,9 @@ class Longitude(FieldChannelMixin, core.LatLongFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -7546,7 +7498,7 @@ class Longitude(FieldChannelMixin, core.LatLongFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -7561,7 +7513,7 @@ class Longitude(FieldChannelMixin, core.LatLongFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -7771,13 +7723,13 @@ def type(self, _: Literal["quantitative"], **kwds) -> Longitude: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, bin: Optional[None] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[Literal["quantitative"]] = Undefined, @@ -7807,7 +7759,7 @@ 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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -7938,9 +7890,9 @@ class Longitude2(FieldChannelMixin, core.SecondaryFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -7973,7 +7925,7 @@ class Longitude2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -7988,7 +7940,7 @@ class Longitude2(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -8129,13 +8081,13 @@ def title(self, _: None, **kwds) -> Longitude2: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, bin: Optional[None] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, **kwds, @@ -8163,7 +8115,7 @@ 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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -8294,7 +8246,7 @@ class Longitude2Value(ValueChannelMixin, core.PositionValueDef): Parameters ---------- - value : dict, float, :class:`ExprRef`, Literal['height', 'width'] + value : Map, float, :class:`ExprRef`, Literal['height', 'width'] A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -8316,9 +8268,9 @@ class Opacity( Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -8330,7 +8282,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -8351,14 +8303,14 @@ class Opacity( **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -8373,7 +8325,7 @@ class Opacity( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : dict, None, :class:`Legend` + legend : Map, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -8382,7 +8334,7 @@ class Opacity( **See also:** `legend `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -8395,7 +8347,7 @@ class Opacity( **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -8433,7 +8385,7 @@ class Opacity( **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -8559,7 +8511,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -8574,8 +8526,8 @@ def bin(self, _: None, **kwds) -> Opacity: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Opacity: ... @@ -8584,7 +8536,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Opacity: ... @@ -8606,110 +8558,106 @@ def field( @overload def legend( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - clipHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columnPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columns: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + clipHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columnPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columns: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, direction: Optional[SchemaBase | Orientation_T] = Undefined, fillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - gradientLength: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gradientOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + gradientLength: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, gradientStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - gradientStrokeWidth: Optional[ - dict | float | Parameter | SchemaBase + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - gradientThickness: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridAlign: Optional[dict | Parameter | SchemaBase | LayoutAlign_T] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + gradientStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientThickness: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridAlign: Optional[Map | Parameter | SchemaBase | LayoutAlign_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, orient: Optional[SchemaBase | LegendOrient_T] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - rowPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + rowPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, strokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, symbolDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - symbolDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolFillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolStrokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolType: Optional[str | dict | Parameter | SchemaBase] = Undefined, + symbolStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolType: Optional[Map | str | Parameter | SchemaBase] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOrient: Optional[dict | Parameter | SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOrient: Optional[Map | Parameter | SchemaBase | Orient_T] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, type: Optional[Literal["symbol", "gradient"]] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -8721,45 +8669,45 @@ def legend(self, _: None, **kwds) -> Opacity: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> Opacity: ... @@ -8790,7 +8738,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> Opacity: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -8888,28 +8836,26 @@ def type(self, _: StandardType_T, **kwds) -> Opacity: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -8943,14 +8889,14 @@ 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 : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -9049,8 +8995,8 @@ def bandPosition(self, _: float, **kwds) -> OpacityDatum: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> OpacityDatum: ... @@ -9059,7 +9005,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> OpacityDatum: ... @@ -9084,9 +9030,7 @@ def __init__( self, datum, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -9110,9 +9054,9 @@ class OpacityValue( Parameters ---------- - condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : dict, float, :class:`ExprRef` + value : Map, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -9124,25 +9068,25 @@ class OpacityValue( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -9154,11 +9098,11 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -9167,26 +9111,26 @@ def condition( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -9198,12 +9142,12 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, empty: Optional[bool] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -9212,8 +9156,8 @@ def condition( @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> OpacityValue: ... @@ -9222,7 +9166,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> OpacityValue: ... @@ -9234,9 +9178,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -9249,9 +9191,9 @@ class Order(FieldChannelMixin, core.OrderFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -9263,7 +9205,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -9284,7 +9226,7 @@ class Order(FieldChannelMixin, core.OrderFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -9301,7 +9243,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 : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -9427,7 +9369,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -9536,14 +9478,14 @@ def type(self, _: StandardType_T, **kwds) -> Order: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, sort: Optional[SchemaBase | SortOrder_T] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -9570,11 +9512,11 @@ class OrderValue(ValueChannelMixin, core.OrderValueDef): Parameters ---------- - value : dict, float, :class:`ExprRef` + value : Map, 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 : dict, :class:`ConditionalValueDefnumber`, :class:`ConditionalParameterValueDefnumber`, :class:`ConditionalPredicateValueDefnumber`, Sequence[dict, :class:`ConditionalValueDefnumber`, :class:`ConditionalParameterValueDefnumber`, :class:`ConditionalPredicateValueDefnumber`] + condition : Map, :class:`ConditionalValueDefnumber`, :class:`ConditionalParameterValueDefnumber`, :class:`ConditionalPredicateValueDefnumber`, Sequence[Map, :class:`ConditionalValueDefnumber`, :class:`ConditionalParameterValueDefnumber`, :class:`ConditionalPredicateValueDefnumber`] One or more value definition(s) with `a parameter or a test predicate `__. @@ -9589,7 +9531,7 @@ class OrderValue(ValueChannelMixin, core.OrderValueDef): @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, value: Optional[float] = Undefined, **kwds, ) -> OrderValue: ... @@ -9611,9 +9553,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -9626,9 +9566,9 @@ class Radius(FieldChannelMixin, core.PositionFieldDefBase): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -9640,7 +9580,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -9661,7 +9601,7 @@ class Radius(FieldChannelMixin, core.PositionFieldDefBase): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -9676,7 +9616,7 @@ class Radius(FieldChannelMixin, core.PositionFieldDefBase): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -9689,7 +9629,7 @@ class Radius(FieldChannelMixin, core.PositionFieldDefBase): **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -9757,7 +9697,7 @@ class Radius(FieldChannelMixin, core.PositionFieldDefBase): **See also:** `stack `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -9883,7 +9823,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -9911,45 +9851,45 @@ def field( @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> Radius: ... @@ -9980,7 +9920,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> Radius: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -10087,25 +10027,25 @@ def type(self, _: StandardType_T, **kwds) -> Radius: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, stack: Optional[bool | None | SchemaBase | StackOffset_T] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -10138,9 +10078,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -10280,45 +10220,45 @@ def bandPosition(self, _: float, **kwds) -> RadiusDatum: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> RadiusDatum: ... @@ -10350,7 +10290,7 @@ def __init__( self, datum, bandPosition: Optional[float] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, stack: Optional[bool | None | SchemaBase | StackOffset_T] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, @@ -10377,7 +10317,7 @@ class RadiusValue(ValueChannelMixin, core.PositionValueDef): Parameters ---------- - value : dict, float, :class:`ExprRef`, Literal['height', 'width'] + value : Map, float, :class:`ExprRef`, Literal['height', 'width'] A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -10400,9 +10340,9 @@ class Radius2(FieldChannelMixin, core.SecondaryFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -10435,7 +10375,7 @@ class Radius2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -10450,7 +10390,7 @@ class Radius2(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -10591,13 +10531,13 @@ def title(self, _: None, **kwds) -> Radius2: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, bin: Optional[None] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, **kwds, @@ -10625,7 +10565,7 @@ 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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -10756,7 +10696,7 @@ class Radius2Value(ValueChannelMixin, core.PositionValueDef): Parameters ---------- - value : dict, float, :class:`ExprRef`, Literal['height', 'width'] + value : Map, float, :class:`ExprRef`, Literal['height', 'width'] A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -10776,9 +10716,9 @@ class Row(FieldChannelMixin, core.RowColumnEncodingFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -10803,7 +10743,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -10829,7 +10769,7 @@ class Row(FieldChannelMixin, core.RowColumnEncodingFieldDef): respective rows or columns. **Default value:** ``false`` - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -10844,9 +10784,9 @@ class Row(FieldChannelMixin, core.RowColumnEncodingFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - header : dict, None, :class:`Header` + header : Map, None, :class:`Header` An object defining properties of a facet's header. - sort : dict, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'] + sort : Map, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[Map, :class:`DateTime`], Literal['ascending', 'descending'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -10878,7 +10818,7 @@ class Row(FieldChannelMixin, core.RowColumnEncodingFieldDef): **Default value**: Depends on ``"spacing"`` property of `the view composition configuration `__ (``20`` by default) - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -11007,7 +10947,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -11035,50 +10975,50 @@ def field( @overload def header( self, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelAnchor: Optional[SchemaBase | TitleAnchor_T] = Undefined, labelAngle: Optional[float] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOrient: Optional[SchemaBase | Orient_T] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, labels: Optional[bool] = Undefined, orient: Optional[SchemaBase | Orient_T] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, titleAnchor: Optional[SchemaBase | TitleAnchor_T] = Undefined, titleAngle: Optional[float] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, titleOrient: Optional[SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Row: ... @@ -11103,7 +11043,7 @@ def sort(self, _: SortOrder_T, **kwds) -> Row: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -11196,27 +11136,27 @@ def type(self, _: StandardType_T, **kwds) -> Row: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, align: Optional[SchemaBase | LayoutAlign_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, center: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - header: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + header: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | SortOrder_T ] = Undefined, spacing: Optional[float] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -11250,9 +11190,9 @@ class Shape( Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -11264,7 +11204,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -11285,14 +11225,14 @@ class Shape( **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] + condition : Map, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -11307,7 +11247,7 @@ class Shape( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : dict, None, :class:`Legend` + legend : Map, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -11316,7 +11256,7 @@ class Shape( **See also:** `legend `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -11329,7 +11269,7 @@ class Shape( **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -11367,7 +11307,7 @@ class Shape( **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -11493,7 +11433,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -11508,8 +11448,8 @@ def bin(self, _: None, **kwds) -> Shape: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> Shape: ... @@ -11518,7 +11458,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> Shape: ... @@ -11540,110 +11480,106 @@ def field( @overload def legend( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - clipHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columnPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columns: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + clipHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columnPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columns: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, direction: Optional[SchemaBase | Orientation_T] = Undefined, fillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - gradientLength: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gradientOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + gradientLength: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, gradientStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - gradientStrokeWidth: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - gradientThickness: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridAlign: Optional[dict | Parameter | SchemaBase | LayoutAlign_T] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + gradientStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientThickness: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridAlign: Optional[Map | Parameter | SchemaBase | LayoutAlign_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, orient: Optional[SchemaBase | LegendOrient_T] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - rowPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + rowPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, strokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, symbolDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - symbolDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolFillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolStrokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolType: Optional[str | dict | Parameter | SchemaBase] = Undefined, + symbolStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolType: Optional[Map | str | Parameter | SchemaBase] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOrient: Optional[dict | Parameter | SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOrient: Optional[Map | Parameter | SchemaBase | Orient_T] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, type: Optional[Literal["symbol", "gradient"]] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -11655,45 +11591,45 @@ def legend(self, _: None, **kwds) -> Shape: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> Shape: ... @@ -11724,7 +11660,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> Shape: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -11822,28 +11758,26 @@ def type(self, _: TypeForShape_T, **kwds) -> Shape: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | TypeForShape_T] = Undefined, @@ -11879,14 +11813,14 @@ 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 : dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] + condition : Map, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -11985,8 +11919,8 @@ def bandPosition(self, _: float, **kwds) -> ShapeDatum: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> ShapeDatum: ... @@ -11995,7 +11929,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> ShapeDatum: ... @@ -12020,9 +11954,7 @@ def __init__( self, datum, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -12047,9 +11979,9 @@ class ShapeValue( Parameters ---------- - condition : dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, :class:`ConditionalMarkPropFieldOrDatumDefTypeForShape`, :class:`ConditionalParameterMarkPropFieldOrDatumDefTypeForShape`, :class:`ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] + condition : Map, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, :class:`ConditionalMarkPropFieldOrDatumDefTypeForShape`, :class:`ConditionalParameterMarkPropFieldOrDatumDefTypeForShape`, :class:`ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape`, Sequence[Map, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : str, dict, None, :class:`ExprRef` + value : Map, str, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -12061,25 +11993,25 @@ class ShapeValue( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | TypeForShape_T] = Undefined, @@ -12091,11 +12023,11 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -12104,26 +12036,26 @@ def condition( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | TypeForShape_T] = Undefined, @@ -12135,12 +12067,12 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, empty: Optional[bool] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -12149,8 +12081,8 @@ def condition( @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> ShapeValue: ... @@ -12159,7 +12091,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> ShapeValue: ... @@ -12171,9 +12103,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -12186,9 +12116,9 @@ class Size(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDefn Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -12200,7 +12130,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -12221,14 +12151,14 @@ class Size(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDefn **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -12243,7 +12173,7 @@ class Size(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDefn about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : dict, None, :class:`Legend` + legend : Map, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -12252,7 +12182,7 @@ class Size(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDefn **See also:** `legend `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -12265,7 +12195,7 @@ class Size(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDefn **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -12303,7 +12233,7 @@ class Size(FieldChannelMixin, core.FieldOrDatumDefWithConditionMarkPropFieldDefn **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -12429,7 +12359,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -12444,8 +12374,8 @@ def bin(self, _: None, **kwds) -> Size: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Size: ... @@ -12454,7 +12384,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Size: ... @@ -12476,110 +12406,106 @@ def field( @overload def legend( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - clipHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columnPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columns: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + clipHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columnPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columns: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, direction: Optional[SchemaBase | Orientation_T] = Undefined, fillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - gradientLength: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gradientOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + gradientLength: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, gradientStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - gradientStrokeWidth: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - gradientThickness: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridAlign: Optional[dict | Parameter | SchemaBase | LayoutAlign_T] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + gradientStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientThickness: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridAlign: Optional[Map | Parameter | SchemaBase | LayoutAlign_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, orient: Optional[SchemaBase | LegendOrient_T] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - rowPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + rowPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, strokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, symbolDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - symbolDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolFillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolStrokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolType: Optional[str | dict | Parameter | SchemaBase] = Undefined, + symbolStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolType: Optional[Map | str | Parameter | SchemaBase] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOrient: Optional[dict | Parameter | SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOrient: Optional[Map | Parameter | SchemaBase | Orient_T] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, type: Optional[Literal["symbol", "gradient"]] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -12591,45 +12517,45 @@ def legend(self, _: None, **kwds) -> Size: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> Size: ... @@ -12660,7 +12586,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> Size: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -12758,28 +12684,26 @@ def type(self, _: StandardType_T, **kwds) -> Size: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -12813,14 +12737,14 @@ 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 : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -12919,8 +12843,8 @@ def bandPosition(self, _: float, **kwds) -> SizeDatum: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> SizeDatum: ... @@ -12929,7 +12853,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> SizeDatum: ... @@ -12954,9 +12878,7 @@ def __init__( self, datum, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -12980,9 +12902,9 @@ class SizeValue( Parameters ---------- - condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : dict, float, :class:`ExprRef` + value : Map, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -12994,25 +12916,25 @@ class SizeValue( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -13024,11 +12946,11 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -13037,26 +12959,26 @@ def condition( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -13068,12 +12990,12 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, empty: Optional[bool] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -13082,8 +13004,8 @@ def condition( @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> SizeValue: ... @@ -13092,7 +13014,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> SizeValue: ... @@ -13104,9 +13026,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -13122,9 +13042,9 @@ class Stroke( Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -13136,7 +13056,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -13157,14 +13077,14 @@ class Stroke( **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] + condition : Map, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -13179,7 +13099,7 @@ class Stroke( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : dict, None, :class:`Legend` + legend : Map, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -13188,7 +13108,7 @@ class Stroke( **See also:** `legend `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -13201,7 +13121,7 @@ class Stroke( **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -13239,7 +13159,7 @@ class Stroke( **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -13365,7 +13285,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -13380,8 +13300,8 @@ def bin(self, _: None, **kwds) -> Stroke: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> Stroke: ... @@ -13390,7 +13310,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> Stroke: ... @@ -13412,110 +13332,106 @@ def field( @overload def legend( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - clipHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columnPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columns: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + clipHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columnPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columns: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, direction: Optional[SchemaBase | Orientation_T] = Undefined, fillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - gradientLength: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gradientOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + gradientLength: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, gradientStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - gradientStrokeWidth: Optional[ - dict | float | Parameter | SchemaBase + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - gradientThickness: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridAlign: Optional[dict | Parameter | SchemaBase | LayoutAlign_T] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + gradientStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientThickness: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridAlign: Optional[Map | Parameter | SchemaBase | LayoutAlign_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, orient: Optional[SchemaBase | LegendOrient_T] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - rowPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + rowPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, strokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, symbolDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - symbolDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolFillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolStrokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolType: Optional[str | dict | Parameter | SchemaBase] = Undefined, + symbolStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolType: Optional[Map | str | Parameter | SchemaBase] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOrient: Optional[dict | Parameter | SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOrient: Optional[Map | Parameter | SchemaBase | Orient_T] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, type: Optional[Literal["symbol", "gradient"]] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -13527,45 +13443,45 @@ def legend(self, _: None, **kwds) -> Stroke: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> Stroke: ... @@ -13596,7 +13512,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> Stroke: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -13694,28 +13610,26 @@ def type(self, _: StandardType_T, **kwds) -> Stroke: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -13751,14 +13665,14 @@ 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 : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] + condition : Map, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -13857,8 +13771,8 @@ def bandPosition(self, _: float, **kwds) -> StrokeDatum: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeDatum: ... @@ -13867,7 +13781,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeDatum: ... @@ -13892,9 +13806,7 @@ def __init__( self, datum, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -13919,9 +13831,9 @@ class StrokeValue( Parameters ---------- - condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] + condition : Map, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[Map, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : str, dict, None, :class:`ExprRef`, :class:`Gradient`, :class:`LinearGradient`, :class:`RadialGradient` + value : Map, str, 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). @@ -13933,25 +13845,25 @@ class StrokeValue( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -13963,11 +13875,11 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -13976,26 +13888,26 @@ def condition( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -14007,12 +13919,12 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, empty: Optional[bool] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -14021,8 +13933,8 @@ def condition( @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeValue: ... @@ -14031,7 +13943,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeValue: ... @@ -14043,9 +13955,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -14060,9 +13970,9 @@ class StrokeDash( Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -14074,7 +13984,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -14095,14 +14005,14 @@ class StrokeDash( **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`] + condition : Map, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -14117,7 +14027,7 @@ class StrokeDash( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : dict, None, :class:`Legend` + legend : Map, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -14126,7 +14036,7 @@ class StrokeDash( **See also:** `legend `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -14139,7 +14049,7 @@ class StrokeDash( **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -14177,7 +14087,7 @@ class StrokeDash( **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -14303,7 +14213,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -14318,8 +14228,8 @@ def bin(self, _: None, **kwds) -> StrokeDash: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, **kwds, ) -> StrokeDash: ... @@ -14328,7 +14238,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + value: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, **kwds, ) -> StrokeDash: ... @@ -14350,110 +14260,106 @@ def field( @overload def legend( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - clipHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columnPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columns: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + clipHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columnPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columns: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, direction: Optional[SchemaBase | Orientation_T] = Undefined, fillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - gradientLength: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gradientOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + gradientLength: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, gradientStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - gradientStrokeWidth: Optional[ - dict | float | Parameter | SchemaBase + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - gradientThickness: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridAlign: Optional[dict | Parameter | SchemaBase | LayoutAlign_T] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + gradientStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientThickness: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridAlign: Optional[Map | Parameter | SchemaBase | LayoutAlign_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, orient: Optional[SchemaBase | LegendOrient_T] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - rowPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + rowPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, strokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, symbolDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - symbolDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolFillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolStrokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolType: Optional[str | dict | Parameter | SchemaBase] = Undefined, + symbolStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolType: Optional[Map | str | Parameter | SchemaBase] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOrient: Optional[dict | Parameter | SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOrient: Optional[Map | Parameter | SchemaBase | Orient_T] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, type: Optional[Literal["symbol", "gradient"]] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -14465,45 +14371,45 @@ def legend(self, _: None, **kwds) -> StrokeDash: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeDash: ... @@ -14534,7 +14440,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> StrokeDash: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -14632,28 +14538,26 @@ def type(self, _: StandardType_T, **kwds) -> StrokeDash: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -14689,14 +14593,14 @@ 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 : dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`] + condition : Map, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -14795,8 +14699,8 @@ def bandPosition(self, _: float, **kwds) -> StrokeDashDatum: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, **kwds, ) -> StrokeDashDatum: ... @@ -14805,7 +14709,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + value: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, **kwds, ) -> StrokeDashDatum: ... @@ -14830,9 +14734,7 @@ def __init__( self, datum, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -14856,9 +14758,9 @@ class StrokeDashValue( Parameters ---------- - condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`] + condition : Map, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[Map, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : dict, Sequence[float], :class:`ExprRef` + value : Map, 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). @@ -14870,25 +14772,25 @@ class StrokeDashValue( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -14900,11 +14802,11 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -14913,26 +14815,26 @@ def condition( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -14944,12 +14846,12 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, empty: Optional[bool] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -14958,8 +14860,8 @@ def condition( @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, **kwds, ) -> StrokeDashValue: ... @@ -14968,7 +14870,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + value: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, **kwds, ) -> StrokeDashValue: ... @@ -14980,9 +14882,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -14997,9 +14897,9 @@ class StrokeOpacity( Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -15011,7 +14911,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -15032,14 +14932,14 @@ class StrokeOpacity( **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -15054,7 +14954,7 @@ class StrokeOpacity( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : dict, None, :class:`Legend` + legend : Map, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -15063,7 +14963,7 @@ class StrokeOpacity( **See also:** `legend `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -15076,7 +14976,7 @@ class StrokeOpacity( **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -15114,7 +15014,7 @@ class StrokeOpacity( **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -15240,7 +15140,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -15255,8 +15155,8 @@ def bin(self, _: None, **kwds) -> StrokeOpacity: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeOpacity: ... @@ -15265,7 +15165,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeOpacity: ... @@ -15287,110 +15187,106 @@ def field( @overload def legend( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - clipHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columnPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columns: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + clipHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columnPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columns: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, direction: Optional[SchemaBase | Orientation_T] = Undefined, fillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - gradientLength: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gradientOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + gradientLength: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, gradientStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - gradientStrokeWidth: Optional[ - dict | float | Parameter | SchemaBase + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - gradientThickness: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridAlign: Optional[dict | Parameter | SchemaBase | LayoutAlign_T] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + gradientStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientThickness: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridAlign: Optional[Map | Parameter | SchemaBase | LayoutAlign_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, orient: Optional[SchemaBase | LegendOrient_T] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - rowPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + rowPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, strokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, symbolDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - symbolDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolFillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolStrokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolType: Optional[str | dict | Parameter | SchemaBase] = Undefined, + symbolStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolType: Optional[Map | str | Parameter | SchemaBase] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOrient: Optional[dict | Parameter | SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOrient: Optional[Map | Parameter | SchemaBase | Orient_T] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, type: Optional[Literal["symbol", "gradient"]] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -15402,45 +15298,45 @@ def legend(self, _: None, **kwds) -> StrokeOpacity: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeOpacity: ... @@ -15471,7 +15367,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> StrokeOpacity: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -15569,28 +15465,26 @@ def type(self, _: StandardType_T, **kwds) -> StrokeOpacity: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -15626,14 +15520,14 @@ 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 : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -15732,8 +15626,8 @@ def bandPosition(self, _: float, **kwds) -> StrokeOpacityDatum: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeOpacityDatum: ... @@ -15742,7 +15636,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeOpacityDatum: ... @@ -15767,9 +15661,7 @@ def __init__( self, datum, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -15793,9 +15685,9 @@ class StrokeOpacityValue( Parameters ---------- - condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : dict, float, :class:`ExprRef` + value : Map, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -15807,25 +15699,25 @@ class StrokeOpacityValue( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -15837,11 +15729,11 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -15850,26 +15742,26 @@ def condition( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -15881,12 +15773,12 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, empty: Optional[bool] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -15895,8 +15787,8 @@ def condition( @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeOpacityValue: ... @@ -15905,7 +15797,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeOpacityValue: ... @@ -15917,9 +15809,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -15934,9 +15824,9 @@ class StrokeWidth( Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -15948,7 +15838,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -15969,14 +15859,14 @@ class StrokeWidth( **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -15991,7 +15881,7 @@ class StrokeWidth( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : dict, None, :class:`Legend` + legend : Map, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -16000,7 +15890,7 @@ class StrokeWidth( **See also:** `legend `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -16013,7 +15903,7 @@ class StrokeWidth( **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -16051,7 +15941,7 @@ class StrokeWidth( **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -16177,7 +16067,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -16192,8 +16082,8 @@ def bin(self, _: None, **kwds) -> StrokeWidth: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeWidth: ... @@ -16202,7 +16092,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeWidth: ... @@ -16224,110 +16114,106 @@ def field( @overload def legend( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - clipHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columnPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columns: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + clipHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columnPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columns: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, direction: Optional[SchemaBase | Orientation_T] = Undefined, fillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - gradientLength: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gradientOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + gradientLength: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, gradientStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - gradientStrokeWidth: Optional[ - dict | float | Parameter | SchemaBase + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - gradientThickness: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridAlign: Optional[dict | Parameter | SchemaBase | LayoutAlign_T] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + gradientStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientThickness: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridAlign: Optional[Map | Parameter | SchemaBase | LayoutAlign_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, orient: Optional[SchemaBase | LegendOrient_T] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - rowPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + rowPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, strokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, symbolDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - symbolDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolFillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolStrokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolType: Optional[str | dict | Parameter | SchemaBase] = Undefined, + symbolStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolType: Optional[Map | str | Parameter | SchemaBase] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOrient: Optional[dict | Parameter | SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOrient: Optional[Map | Parameter | SchemaBase | Orient_T] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, type: Optional[Literal["symbol", "gradient"]] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -16339,45 +16225,45 @@ def legend(self, _: None, **kwds) -> StrokeWidth: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeWidth: ... @@ -16408,7 +16294,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> StrokeWidth: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -16506,28 +16392,26 @@ def type(self, _: StandardType_T, **kwds) -> StrokeWidth: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -16563,14 +16447,14 @@ 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 : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -16669,8 +16553,8 @@ def bandPosition(self, _: float, **kwds) -> StrokeWidthDatum: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeWidthDatum: ... @@ -16679,7 +16563,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeWidthDatum: ... @@ -16704,9 +16588,7 @@ def __init__( self, datum, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -16730,9 +16612,9 @@ class StrokeWidthValue( Parameters ---------- - condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : dict, float, :class:`ExprRef` + value : Map, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -16744,25 +16626,25 @@ class StrokeWidthValue( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -16774,11 +16656,11 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -16787,26 +16669,26 @@ def condition( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -16818,12 +16700,12 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, empty: Optional[bool] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -16832,8 +16714,8 @@ def condition( @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeWidthValue: ... @@ -16842,7 +16724,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> StrokeWidthValue: ... @@ -16854,9 +16736,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -16869,9 +16749,9 @@ class Text(FieldChannelMixin, core.FieldOrDatumDefWithConditionStringFieldDefTex Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -16883,7 +16763,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -16904,14 +16784,14 @@ class Text(FieldChannelMixin, core.FieldOrDatumDefWithConditionStringFieldDefTex **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`] + condition : Map, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -16926,7 +16806,7 @@ class Text(FieldChannelMixin, core.FieldOrDatumDefWithConditionStringFieldDefTex about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -16958,7 +16838,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 : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -17084,7 +16964,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -17102,10 +16982,8 @@ def bin(self, _: None, **kwds) -> Text: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[ - str | dict | Parameter | SchemaBase | Sequence[str] - ] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, **kwds, ) -> Text: ... @@ -17114,9 +16992,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[ - str | dict | Parameter | SchemaBase | Sequence[str] - ] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, **kwds, ) -> Text: ... @@ -17139,7 +17015,7 @@ def field( def format(self, _: str, **kwds) -> Text: ... @overload - def format(self, _: dict, **kwds) -> Text: ... + def format(self, _: Map, **kwds) -> Text: ... @overload def formatType(self, _: str, **kwds) -> Text: ... @@ -17225,18 +17101,16 @@ def type(self, _: StandardType_T, **kwds) -> Text: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -17269,16 +17143,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 : dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`] + condition : Map, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -17407,10 +17281,8 @@ def bandPosition(self, _: float, **kwds) -> TextDatum: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[ - str | dict | Parameter | SchemaBase | Sequence[str] - ] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, **kwds, ) -> TextDatum: ... @@ -17419,9 +17291,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[ - str | dict | Parameter | SchemaBase | Sequence[str] - ] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, **kwds, ) -> TextDatum: ... @@ -17434,7 +17304,7 @@ def condition( def format(self, _: str, **kwds) -> TextDatum: ... @overload - def format(self, _: dict, **kwds) -> TextDatum: ... + def format(self, _: Map, **kwds) -> TextDatum: ... @overload def formatType(self, _: str, **kwds) -> TextDatum: ... @@ -17455,10 +17325,8 @@ def __init__( self, datum, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, @@ -17483,9 +17351,9 @@ class TextValue(ValueChannelMixin, core.ValueDefWithConditionStringFieldDefText) Parameters ---------- - condition : dict, :class:`ConditionalStringFieldDef`, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterStringFieldDef`, :class:`ConditionalPredicateStringFieldDef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`] + condition : Map, :class:`ConditionalStringFieldDef`, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterStringFieldDef`, :class:`ConditionalPredicateStringFieldDef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[Map, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` + value : Map, str, :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). @@ -17497,15 +17365,15 @@ class TextValue(ValueChannelMixin, core.ValueDefWithConditionStringFieldDefText) @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -17515,16 +17383,16 @@ def condition( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, param: Optional[str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -17534,10 +17402,8 @@ def condition( @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[ - str | dict | Parameter | SchemaBase | Sequence[str] - ] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, **kwds, ) -> TextValue: ... @@ -17546,9 +17412,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[ - str | dict | Parameter | SchemaBase | Sequence[str] - ] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, **kwds, ) -> TextValue: ... @@ -17560,9 +17424,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -17575,9 +17437,9 @@ class Theta(FieldChannelMixin, core.PositionFieldDefBase): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -17589,7 +17451,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -17610,7 +17472,7 @@ class Theta(FieldChannelMixin, core.PositionFieldDefBase): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -17625,7 +17487,7 @@ class Theta(FieldChannelMixin, core.PositionFieldDefBase): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -17638,7 +17500,7 @@ class Theta(FieldChannelMixin, core.PositionFieldDefBase): **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -17706,7 +17568,7 @@ class Theta(FieldChannelMixin, core.PositionFieldDefBase): **See also:** `stack `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -17832,7 +17694,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -17860,45 +17722,45 @@ def field( @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> Theta: ... @@ -17929,7 +17791,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> Theta: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -18036,25 +17898,25 @@ def type(self, _: StandardType_T, **kwds) -> Theta: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, stack: Optional[bool | None | SchemaBase | StackOffset_T] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -18087,9 +17949,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -18229,45 +18091,45 @@ def bandPosition(self, _: float, **kwds) -> ThetaDatum: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> ThetaDatum: ... @@ -18299,7 +18161,7 @@ def __init__( self, datum, bandPosition: Optional[float] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, stack: Optional[bool | None | SchemaBase | StackOffset_T] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, @@ -18326,7 +18188,7 @@ class ThetaValue(ValueChannelMixin, core.PositionValueDef): Parameters ---------- - value : dict, float, :class:`ExprRef`, Literal['height', 'width'] + value : Map, float, :class:`ExprRef`, Literal['height', 'width'] A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -18349,9 +18211,9 @@ class Theta2(FieldChannelMixin, core.SecondaryFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -18384,7 +18246,7 @@ class Theta2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -18399,7 +18261,7 @@ class Theta2(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -18540,13 +18402,13 @@ def title(self, _: None, **kwds) -> Theta2: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, bin: Optional[None] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, **kwds, @@ -18574,7 +18436,7 @@ 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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -18705,7 +18567,7 @@ class Theta2Value(ValueChannelMixin, core.PositionValueDef): Parameters ---------- - value : dict, float, :class:`ExprRef`, Literal['height', 'width'] + value : Map, float, :class:`ExprRef`, Literal['height', 'width'] A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -18725,9 +18587,9 @@ class Tooltip(FieldChannelMixin, core.StringFieldDefWithCondition): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -18739,7 +18601,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -18760,14 +18622,14 @@ class Tooltip(FieldChannelMixin, core.StringFieldDefWithCondition): **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`] + condition : Map, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -18782,7 +18644,7 @@ class Tooltip(FieldChannelMixin, core.StringFieldDefWithCondition): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -18814,7 +18676,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 : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -18940,7 +18802,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -18958,8 +18820,8 @@ def bin(self, _: None, **kwds) -> Tooltip: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase] = Undefined, **kwds, ) -> Tooltip: ... @@ -18968,7 +18830,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase] = Undefined, **kwds, ) -> Tooltip: ... @@ -18991,7 +18853,7 @@ def field( def format(self, _: str, **kwds) -> Tooltip: ... @overload - def format(self, _: dict, **kwds) -> Tooltip: ... + def format(self, _: Map, **kwds) -> Tooltip: ... @overload def formatType(self, _: str, **kwds) -> Tooltip: ... @@ -19077,18 +18939,16 @@ def type(self, _: StandardType_T, **kwds) -> Tooltip: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -19117,9 +18977,9 @@ class TooltipValue(ValueChannelMixin, core.StringValueDefWithCondition): Parameters ---------- - condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] + condition : Map, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[Map, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : str, dict, None, :class:`ExprRef` + value : Map, str, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -19131,25 +18991,25 @@ class TooltipValue(ValueChannelMixin, core.StringValueDefWithCondition): @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -19161,11 +19021,11 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -19174,26 +19034,26 @@ def condition( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -19205,12 +19065,12 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, empty: Optional[bool] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -19219,8 +19079,8 @@ def condition( @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> TooltipValue: ... @@ -19229,7 +19089,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> TooltipValue: ... @@ -19241,9 +19101,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -19256,9 +19114,9 @@ class Url(FieldChannelMixin, core.StringFieldDefWithCondition): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -19270,7 +19128,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -19291,14 +19149,14 @@ class Url(FieldChannelMixin, core.StringFieldDefWithCondition): **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`] + condition : Map, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -19313,7 +19171,7 @@ class Url(FieldChannelMixin, core.StringFieldDefWithCondition): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -19345,7 +19203,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 : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -19471,7 +19329,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -19489,8 +19347,8 @@ def bin(self, _: None, **kwds) -> Url: ... @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase] = Undefined, **kwds, ) -> Url: ... @@ -19499,7 +19357,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase] = Undefined, **kwds, ) -> Url: ... @@ -19522,7 +19380,7 @@ def field( def format(self, _: str, **kwds) -> Url: ... @overload - def format(self, _: dict, **kwds) -> Url: ... + def format(self, _: Map, **kwds) -> Url: ... @overload def formatType(self, _: str, **kwds) -> Url: ... @@ -19608,18 +19466,16 @@ def type(self, _: StandardType_T, **kwds) -> Url: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -19648,9 +19504,9 @@ class UrlValue(ValueChannelMixin, core.StringValueDefWithCondition): Parameters ---------- - condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] + condition : Map, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[Map, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : str, dict, None, :class:`ExprRef` + value : Map, str, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -19662,25 +19518,25 @@ class UrlValue(ValueChannelMixin, core.StringValueDefWithCondition): @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -19692,11 +19548,11 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, - test: Optional[str | dict | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -19705,26 +19561,26 @@ def condition( @overload def condition( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -19736,12 +19592,12 @@ def condition( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, empty: Optional[bool] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, param: Optional[str | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -19750,8 +19606,8 @@ def condition( @overload def condition( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> UrlValue: ... @@ -19760,7 +19616,7 @@ def condition( self, empty: Optional[bool] = Undefined, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ) -> UrlValue: ... @@ -19772,9 +19628,7 @@ def condition( def __init__( self, value, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -19787,9 +19641,9 @@ class X(FieldChannelMixin, core.PositionFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -19797,7 +19651,7 @@ class X(FieldChannelMixin, core.PositionFieldDef): **See also:** `aggregate `__ documentation. - axis : dict, None, :class:`Axis` + axis : Map, 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. @@ -19810,7 +19664,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -19831,7 +19685,7 @@ class X(FieldChannelMixin, core.PositionFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -19846,7 +19700,7 @@ class X(FieldChannelMixin, core.PositionFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - impute : dict, None, :class:`ImputeParams` + impute : Map, 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 @@ -19854,7 +19708,7 @@ class X(FieldChannelMixin, core.PositionFieldDef): **See also:** `impute `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -19867,7 +19721,7 @@ class X(FieldChannelMixin, core.PositionFieldDef): **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -19935,7 +19789,7 @@ class X(FieldChannelMixin, core.PositionFieldDef): **See also:** `stack `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -20051,118 +19905,116 @@ def aggregate( @overload def axis( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - bandPosition: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + bandPosition: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, domain: Optional[bool] = Undefined, - domainCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + domainCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, domainColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, domainDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - domainDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + domainDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, grid: Optional[bool] = Undefined, - gridCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + gridCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, gridColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - gridDash: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - gridDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - labelAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | str | None | Parameter | SchemaBase | ColorName_T + ] = Undefined, + gridDash: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + gridDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + labelAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, - labelBound: Optional[bool | dict | float | Parameter | SchemaBase] = Undefined, + labelBound: Optional[Map | bool | float | Parameter | SchemaBase] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, labelFlush: Optional[bool | float] = Undefined, - labelFlushOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFlushOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, labels: Optional[bool] = Undefined, - maxExtent: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minExtent: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - orient: Optional[dict | Parameter | SchemaBase | AxisOrient_T] = Undefined, - position: Optional[dict | float | Parameter | SchemaBase] = Undefined, + maxExtent: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minExtent: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + orient: Optional[Map | Parameter | SchemaBase | AxisOrient_T] = Undefined, + position: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, tickBand: Optional[ - dict | Parameter | SchemaBase | Literal["center", "extent"] + Map | Parameter | SchemaBase | Literal["center", "extent"] ] = Undefined, - tickCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + tickCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, tickColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickDash: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - tickDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickDash: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + tickDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, tickExtra: Optional[bool] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, tickRound: Optional[bool] = Undefined, - tickSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, ticks: Optional[bool] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, - titleAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, + titleAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T - ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - translate: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | FontWeight_T + ] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + translate: Optional[Map | float | Parameter | SchemaBase] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -20184,7 +20036,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -20213,7 +20065,7 @@ def field( def impute( self, frame: Optional[Sequence[None | float]] = Undefined, - keyvals: Optional[dict | SchemaBase | Sequence[Any]] = Undefined, + keyvals: Optional[Map | SchemaBase | Sequence[Any]] = Undefined, method: Optional[SchemaBase | ImputeMethod_T] = Undefined, value: Optional[Any] = Undefined, **kwds, @@ -20225,45 +20077,45 @@ def impute(self, _: None, **kwds) -> X: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> X: ... @@ -20294,7 +20146,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> X: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -20401,27 +20253,27 @@ def type(self, _: StandardType_T, **kwds) -> X: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, - axis: Optional[dict | None | SchemaBase] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, + axis: Optional[Map | None | SchemaBase] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - impute: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + impute: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, stack: Optional[bool | None | SchemaBase | StackOffset_T] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -20452,7 +20304,7 @@ class XDatum(DatumChannelMixin, core.PositionDatumDef): Parameters ---------- - axis : dict, None, :class:`Axis` + axis : Map, 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. @@ -20465,9 +20317,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - impute : dict, None, :class:`ImputeParams` + impute : Map, 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 @@ -20475,7 +20327,7 @@ class XDatum(DatumChannelMixin, core.PositionDatumDef): **See also:** `impute `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -20612,118 +20464,116 @@ class XDatum(DatumChannelMixin, core.PositionDatumDef): @overload def axis( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - bandPosition: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + bandPosition: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, domain: Optional[bool] = Undefined, - domainCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + domainCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, domainColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, domainDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - domainDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + domainDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, grid: Optional[bool] = Undefined, - gridCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + gridCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, gridColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - gridDash: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - gridDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - labelAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | str | None | Parameter | SchemaBase | ColorName_T + ] = Undefined, + gridDash: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + gridDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + labelAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, - labelBound: Optional[bool | dict | float | Parameter | SchemaBase] = Undefined, + labelBound: Optional[Map | bool | float | Parameter | SchemaBase] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, labelFlush: Optional[bool | float] = Undefined, - labelFlushOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFlushOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, labels: Optional[bool] = Undefined, - maxExtent: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minExtent: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - orient: Optional[dict | Parameter | SchemaBase | AxisOrient_T] = Undefined, - position: Optional[dict | float | Parameter | SchemaBase] = Undefined, + maxExtent: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minExtent: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + orient: Optional[Map | Parameter | SchemaBase | AxisOrient_T] = Undefined, + position: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, tickBand: Optional[ - dict | Parameter | SchemaBase | Literal["center", "extent"] + Map | Parameter | SchemaBase | Literal["center", "extent"] ] = Undefined, - tickCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + tickCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, tickColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickDash: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - tickDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickDash: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + tickDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, tickExtra: Optional[bool] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, tickRound: Optional[bool] = Undefined, - tickSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, ticks: Optional[bool] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, - titleAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, + titleAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T - ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - translate: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | FontWeight_T + ] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + translate: Optional[Map | float | Parameter | SchemaBase] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -20739,7 +20589,7 @@ def bandPosition(self, _: float, **kwds) -> XDatum: ... def impute( self, frame: Optional[Sequence[None | float]] = Undefined, - keyvals: Optional[dict | SchemaBase | Sequence[Any]] = Undefined, + keyvals: Optional[Map | SchemaBase | Sequence[Any]] = Undefined, method: Optional[SchemaBase | ImputeMethod_T] = Undefined, value: Optional[Any] = Undefined, **kwds, @@ -20751,45 +20601,45 @@ def impute(self, _: None, **kwds) -> XDatum: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> XDatum: ... @@ -20820,10 +20670,10 @@ def type(self, _: Type_T, **kwds) -> XDatum: ... def __init__( self, datum, - axis: Optional[dict | None | SchemaBase] = Undefined, + axis: Optional[Map | None | SchemaBase] = Undefined, bandPosition: Optional[float] = Undefined, - impute: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + impute: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, stack: Optional[bool | None | SchemaBase | StackOffset_T] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, @@ -20852,7 +20702,7 @@ class XValue(ValueChannelMixin, core.PositionValueDef): Parameters ---------- - value : dict, float, :class:`ExprRef`, Literal['height', 'width'] + value : Map, float, :class:`ExprRef`, Literal['height', 'width'] A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -20875,9 +20725,9 @@ class X2(FieldChannelMixin, core.SecondaryFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -20910,7 +20760,7 @@ class X2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -20925,7 +20775,7 @@ class X2(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -21066,13 +20916,13 @@ def title(self, _: None, **kwds) -> X2: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, bin: Optional[None] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, **kwds, @@ -21100,7 +20950,7 @@ 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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -21231,7 +21081,7 @@ class X2Value(ValueChannelMixin, core.PositionValueDef): Parameters ---------- - value : dict, float, :class:`ExprRef`, Literal['height', 'width'] + value : Map, float, :class:`ExprRef`, Literal['height', 'width'] A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -21254,9 +21104,9 @@ class XError(FieldChannelMixin, core.SecondaryFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -21289,7 +21139,7 @@ class XError(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -21304,7 +21154,7 @@ class XError(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -21445,13 +21295,13 @@ def title(self, _: None, **kwds) -> XError: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, bin: Optional[None] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, **kwds, @@ -21501,9 +21351,9 @@ class XError2(FieldChannelMixin, core.SecondaryFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -21536,7 +21386,7 @@ class XError2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -21551,7 +21401,7 @@ class XError2(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -21692,13 +21542,13 @@ def title(self, _: None, **kwds) -> XError2: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, bin: Optional[None] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, **kwds, @@ -21745,9 +21595,9 @@ class XOffset(FieldChannelMixin, core.ScaleFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -21759,7 +21609,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -21780,7 +21630,7 @@ class XOffset(FieldChannelMixin, core.ScaleFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -21795,7 +21645,7 @@ class XOffset(FieldChannelMixin, core.ScaleFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -21808,7 +21658,7 @@ class XOffset(FieldChannelMixin, core.ScaleFieldDef): **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -21846,7 +21696,7 @@ class XOffset(FieldChannelMixin, core.ScaleFieldDef): **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -21972,7 +21822,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -21997,45 +21847,45 @@ def field( @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> XOffset: ... @@ -22066,7 +21916,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> XOffset: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -22164,24 +22014,24 @@ def type(self, _: StandardType_T, **kwds) -> XOffset: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -22213,9 +22063,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -22325,45 +22175,45 @@ def bandPosition(self, _: float, **kwds) -> XOffsetDatum: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> XOffsetDatum: ... @@ -22386,7 +22236,7 @@ def __init__( self, datum, bandPosition: Optional[float] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -22431,9 +22281,9 @@ class Y(FieldChannelMixin, core.PositionFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -22441,7 +22291,7 @@ class Y(FieldChannelMixin, core.PositionFieldDef): **See also:** `aggregate `__ documentation. - axis : dict, None, :class:`Axis` + axis : Map, 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. @@ -22454,7 +22304,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -22475,7 +22325,7 @@ class Y(FieldChannelMixin, core.PositionFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -22490,7 +22340,7 @@ class Y(FieldChannelMixin, core.PositionFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - impute : dict, None, :class:`ImputeParams` + impute : Map, 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 @@ -22498,7 +22348,7 @@ class Y(FieldChannelMixin, core.PositionFieldDef): **See also:** `impute `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -22511,7 +22361,7 @@ class Y(FieldChannelMixin, core.PositionFieldDef): **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -22579,7 +22429,7 @@ class Y(FieldChannelMixin, core.PositionFieldDef): **See also:** `stack `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -22695,118 +22545,116 @@ def aggregate( @overload def axis( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - bandPosition: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + bandPosition: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, domain: Optional[bool] = Undefined, - domainCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + domainCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, domainColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, domainDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - domainDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + domainDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, grid: Optional[bool] = Undefined, - gridCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + gridCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, gridColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - gridDash: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - gridDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - labelAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | str | None | Parameter | SchemaBase | ColorName_T + ] = Undefined, + gridDash: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + gridDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + labelAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, - labelBound: Optional[bool | dict | float | Parameter | SchemaBase] = Undefined, + labelBound: Optional[Map | bool | float | Parameter | SchemaBase] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, labelFlush: Optional[bool | float] = Undefined, - labelFlushOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFlushOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, labels: Optional[bool] = Undefined, - maxExtent: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minExtent: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - orient: Optional[dict | Parameter | SchemaBase | AxisOrient_T] = Undefined, - position: Optional[dict | float | Parameter | SchemaBase] = Undefined, + maxExtent: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minExtent: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + orient: Optional[Map | Parameter | SchemaBase | AxisOrient_T] = Undefined, + position: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, tickBand: Optional[ - dict | Parameter | SchemaBase | Literal["center", "extent"] + Map | Parameter | SchemaBase | Literal["center", "extent"] ] = Undefined, - tickCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + tickCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, tickColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickDash: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - tickDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickDash: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + tickDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, tickExtra: Optional[bool] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, tickRound: Optional[bool] = Undefined, - tickSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, ticks: Optional[bool] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, - titleAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, + titleAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T - ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - translate: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | FontWeight_T + ] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + translate: Optional[Map | float | Parameter | SchemaBase] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -22828,7 +22676,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -22857,7 +22705,7 @@ def field( def impute( self, frame: Optional[Sequence[None | float]] = Undefined, - keyvals: Optional[dict | SchemaBase | Sequence[Any]] = Undefined, + keyvals: Optional[Map | SchemaBase | Sequence[Any]] = Undefined, method: Optional[SchemaBase | ImputeMethod_T] = Undefined, value: Optional[Any] = Undefined, **kwds, @@ -22869,45 +22717,45 @@ def impute(self, _: None, **kwds) -> Y: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> Y: ... @@ -22938,7 +22786,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> Y: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -23045,27 +22893,27 @@ def type(self, _: StandardType_T, **kwds) -> Y: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, - axis: Optional[dict | None | SchemaBase] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, + axis: Optional[Map | None | SchemaBase] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - impute: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + impute: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, stack: Optional[bool | None | SchemaBase | StackOffset_T] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -23096,7 +22944,7 @@ class YDatum(DatumChannelMixin, core.PositionDatumDef): Parameters ---------- - axis : dict, None, :class:`Axis` + axis : Map, 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. @@ -23109,9 +22957,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - impute : dict, None, :class:`ImputeParams` + impute : Map, 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 @@ -23119,7 +22967,7 @@ class YDatum(DatumChannelMixin, core.PositionDatumDef): **See also:** `impute `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -23256,118 +23104,116 @@ class YDatum(DatumChannelMixin, core.PositionDatumDef): @overload def axis( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - bandPosition: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + bandPosition: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, domain: Optional[bool] = Undefined, - domainCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + domainCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, domainColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, domainDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - domainDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + domainDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, grid: Optional[bool] = Undefined, - gridCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + gridCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, gridColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - gridDash: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - gridDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - labelAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | str | None | Parameter | SchemaBase | ColorName_T + ] = Undefined, + gridDash: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + gridDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + labelAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, - labelBound: Optional[bool | dict | float | Parameter | SchemaBase] = Undefined, + labelBound: Optional[Map | bool | float | Parameter | SchemaBase] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, labelFlush: Optional[bool | float] = Undefined, - labelFlushOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFlushOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, labels: Optional[bool] = Undefined, - maxExtent: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minExtent: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - orient: Optional[dict | Parameter | SchemaBase | AxisOrient_T] = Undefined, - position: Optional[dict | float | Parameter | SchemaBase] = Undefined, + maxExtent: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minExtent: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + orient: Optional[Map | Parameter | SchemaBase | AxisOrient_T] = Undefined, + position: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, tickBand: Optional[ - dict | Parameter | SchemaBase | Literal["center", "extent"] + Map | Parameter | SchemaBase | Literal["center", "extent"] ] = Undefined, - tickCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + tickCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, tickColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickDash: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - tickDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickDash: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + tickDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, tickExtra: Optional[bool] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, tickRound: Optional[bool] = Undefined, - tickSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, ticks: Optional[bool] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, - titleAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, + titleAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T - ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - translate: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | FontWeight_T + ] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + translate: Optional[Map | float | Parameter | SchemaBase] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -23383,7 +23229,7 @@ def bandPosition(self, _: float, **kwds) -> YDatum: ... def impute( self, frame: Optional[Sequence[None | float]] = Undefined, - keyvals: Optional[dict | SchemaBase | Sequence[Any]] = Undefined, + keyvals: Optional[Map | SchemaBase | Sequence[Any]] = Undefined, method: Optional[SchemaBase | ImputeMethod_T] = Undefined, value: Optional[Any] = Undefined, **kwds, @@ -23395,45 +23241,45 @@ def impute(self, _: None, **kwds) -> YDatum: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> YDatum: ... @@ -23464,10 +23310,10 @@ def type(self, _: Type_T, **kwds) -> YDatum: ... def __init__( self, datum, - axis: Optional[dict | None | SchemaBase] = Undefined, + axis: Optional[Map | None | SchemaBase] = Undefined, bandPosition: Optional[float] = Undefined, - impute: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + impute: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, stack: Optional[bool | None | SchemaBase | StackOffset_T] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, @@ -23496,7 +23342,7 @@ class YValue(ValueChannelMixin, core.PositionValueDef): Parameters ---------- - value : dict, float, :class:`ExprRef`, Literal['height', 'width'] + value : Map, float, :class:`ExprRef`, Literal['height', 'width'] A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -23519,9 +23365,9 @@ class Y2(FieldChannelMixin, core.SecondaryFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -23554,7 +23400,7 @@ class Y2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -23569,7 +23415,7 @@ class Y2(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -23710,13 +23556,13 @@ def title(self, _: None, **kwds) -> Y2: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, bin: Optional[None] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, **kwds, @@ -23744,7 +23590,7 @@ 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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -23875,7 +23721,7 @@ class Y2Value(ValueChannelMixin, core.PositionValueDef): Parameters ---------- - value : dict, float, :class:`ExprRef`, Literal['height', 'width'] + value : Map, float, :class:`ExprRef`, Literal['height', 'width'] A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -23898,9 +23744,9 @@ class YError(FieldChannelMixin, core.SecondaryFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -23933,7 +23779,7 @@ class YError(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -23948,7 +23794,7 @@ class YError(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -24089,13 +23935,13 @@ def title(self, _: None, **kwds) -> YError: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, bin: Optional[None] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, **kwds, @@ -24145,9 +23991,9 @@ class YError2(FieldChannelMixin, core.SecondaryFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -24180,7 +24026,7 @@ class YError2(FieldChannelMixin, core.SecondaryFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -24195,7 +24041,7 @@ class YError2(FieldChannelMixin, core.SecondaryFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -24336,13 +24182,13 @@ def title(self, _: None, **kwds) -> YError2: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, bin: Optional[None] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, **kwds, @@ -24389,9 +24235,9 @@ class YOffset(FieldChannelMixin, core.ScaleFieldDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -24403,7 +24249,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -24424,7 +24270,7 @@ class YOffset(FieldChannelMixin, core.ScaleFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -24439,7 +24285,7 @@ class YOffset(FieldChannelMixin, core.ScaleFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -24452,7 +24298,7 @@ class YOffset(FieldChannelMixin, core.ScaleFieldDef): **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -24490,7 +24336,7 @@ class YOffset(FieldChannelMixin, core.ScaleFieldDef): **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -24616,7 +24462,7 @@ def bin( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -24641,45 +24487,45 @@ def field( @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> YOffset: ... @@ -24710,7 +24556,7 @@ def sort(self, _: SortByChannelDesc_T, **kwds) -> YOffset: ... @overload def sort( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -24808,24 +24654,24 @@ def type(self, _: StandardType_T, **kwds) -> YOffset: ... def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -24857,9 +24703,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -24969,45 +24815,45 @@ def bandPosition(self, _: float, **kwds) -> YOffsetDatum: ... @overload def scale( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ) -> YOffsetDatum: ... @@ -25030,7 +24876,7 @@ def __init__( self, datum, bandPosition: Optional[float] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, diff --git a/altair/vegalite/v5/schema/core.py b/altair/vegalite/v5/schema/core.py index dc82b1c95..a6fcd4439 100644 --- a/altair/vegalite/v5/schema/core.py +++ b/altair/vegalite/v5/schema/core.py @@ -586,32 +586,32 @@ class AreaConfig(AnyMarkConfig): Parameters ---------- - align : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + align : Map, :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 : dict, float, :class:`ExprRef` + angle : Map, float, :class:`ExprRef` The rotation angle of the text, in degrees. - aria : bool, dict, :class:`ExprRef` + aria : Map, bool, :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 : str, dict, :class:`ExprRef` + ariaRole : Map, str, :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 : str, dict, :class:`ExprRef` + ariaRoleDescription : Map, str, :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 : bool, dict, :class:`ExprRef` + aspect : Map, bool, :class:`ExprRef` Whether to keep aspect ratio of image marks. - baseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + baseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', '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 @@ -622,13 +622,13 @@ class AreaConfig(AnyMarkConfig): ``"middle"``, ``"bottom"``. **Note:** Expression reference is *not* supported for range marks. - 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'] + blend : Map, :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 : 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'] + color : Map, str, :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:`` ■ :raw-html:`` @@ -640,59 +640,59 @@ class AreaConfig(AnyMarkConfig): `__. * The ``fill`` and ``stroke`` properties have higher precedence than ``color`` and will override ``color``. - cornerRadius : dict, float, :class:`ExprRef` + cornerRadius : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` - cornerRadiusBottomLeft : dict, float, :class:`ExprRef` + cornerRadiusBottomLeft : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom left corner. **Default value:** ``0`` - cornerRadiusBottomRight : dict, float, :class:`ExprRef` + cornerRadiusBottomRight : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom right corner. **Default value:** ``0`` - cornerRadiusTopLeft : dict, float, :class:`ExprRef` + cornerRadiusTopLeft : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top right corner. **Default value:** ``0`` - cornerRadiusTopRight : dict, float, :class:`ExprRef` + cornerRadiusTopRight : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top left corner. **Default value:** ``0`` - 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'] + cursor : Map, :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 : str, dict, :class:`ExprRef` + description : Map, str, :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 : dict, :class:`ExprRef`, Literal['ltr', 'rtl'], :class:`TextDirection` + dir : Map, :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 : dict, float, :class:`ExprRef` + dx : Map, 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 : dict, float, :class:`ExprRef` + dy : Map, 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 : str, dict, :class:`ExprRef` + ellipsis : Map, str, :class:`ExprRef` The ellipsis string for text truncated in response to the limit parameter. **Default value:** ``"…"`` - endAngle : dict, float, :class:`ExprRef` + endAngle : Map, float, :class:`ExprRef` The end angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - 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'] + fill : Map, str, 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 : dict, float, :class:`ExprRef` + fillOpacity : Map, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` @@ -706,28 +706,28 @@ class AreaConfig(AnyMarkConfig): **Note:** This property cannot be used in a `style config `__. - font : str, dict, :class:`ExprRef` + font : Map, str, :class:`ExprRef` The typeface to set the text in (e.g., ``"Helvetica Neue"``). - fontSize : dict, float, :class:`ExprRef` + fontSize : Map, float, :class:`ExprRef` The font size, in pixels. **Default value:** ``11`` - fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + fontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` The font style (e.g., ``"italic"``). - fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : Map, :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 : dict, float, :class:`ExprRef` + height : Map, float, :class:`ExprRef` Height of the marks. - href : str, dict, :class:`URI`, :class:`ExprRef` + href : Map, str, :class:`URI`, :class:`ExprRef` A URL to load upon mouse click. If defined, the mark acts as a hyperlink. - innerRadius : dict, float, :class:`ExprRef` + innerRadius : Map, float, :class:`ExprRef` The inner radius in pixels of arc marks. ``innerRadius`` is an alias for ``radius2``. **Default value:** ``0`` - 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'] + interpolate : Map, :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: * ``"linear"``: piecewise linear segments, as in a polyline. @@ -779,12 +779,12 @@ class AreaConfig(AnyMarkConfig): ``config.scale.invalid``, all values for the scales will be considered "valid" since they can produce a reasonable output for the scales. Thus, fields for such channels will not be filtered and will not cause path breaks. - limit : dict, float, :class:`ExprRef` + limit : Map, 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 : bool, dict, :class:`OverlayMarkDef` + line : Map, bool, :class:`OverlayMarkDef` A flag for overlaying line on top of area marks, or an object defining the properties of the overlayed lines. @@ -794,13 +794,13 @@ class AreaConfig(AnyMarkConfig): * If this value is ``false``, no lines would be automatically added to area marks. **Default value:** ``false``. - lineBreak : str, dict, :class:`ExprRef` + lineBreak : Map, str, :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 : dict, float, :class:`ExprRef` + lineHeight : Map, float, :class:`ExprRef` The line height in pixels (the spacing between subsequent lines of text) for multi-line text marks. - opacity : dict, float, :class:`ExprRef` + opacity : Map, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, @@ -819,13 +819,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 : dict, float, :class:`ExprRef` + outerRadius : Map, float, :class:`ExprRef` The outer radius in pixels of arc marks. ``outerRadius`` is an alias for ``radius``. **Default value:** ``0`` - padAngle : dict, float, :class:`ExprRef` + padAngle : Map, float, :class:`ExprRef` The angular padding applied to sides of the arc, in radians. - point : bool, dict, Literal['transparent'], :class:`OverlayMarkDef` + point : Map, bool, Literal['transparent'], :class:`OverlayMarkDef` A flag for overlaying points on top of line or area marks, or an object defining the properties of the overlayed points. @@ -839,18 +839,18 @@ class AreaConfig(AnyMarkConfig): area marks. **Default value:** ``false``. - radius : dict, float, :class:`ExprRef` + radius : Map, 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 : dict, float, :class:`ExprRef` + radius2 : Map, float, :class:`ExprRef` The secondary (inner) radius in pixels of arc marks. **Default value:** ``0`` - shape : str, dict, :class:`ExprRef`, :class:`SymbolShape` + shape : Map, str, :class:`ExprRef`, :class:`SymbolShape` Shape of the point marks. Supported values include: * plotting shapes: ``"circle"``, ``"square"``, ``"cross"``, ``"diamond"``, @@ -864,7 +864,7 @@ class AreaConfig(AnyMarkConfig): coordinates ranging from -1 to 1 along both the x and y dimensions.) **Default value:** ``"circle"`` - size : dict, float, :class:`ExprRef` + size : Map, float, :class:`ExprRef` Default size for marks. * For ``point``/``circle``/``square``, this represents the pixel area of the marks. @@ -879,56 +879,56 @@ class AreaConfig(AnyMarkConfig): * ``2`` for bar marks with discrete dimensions; * ``5`` for bar marks with continuous dimensions; * ``11`` for text marks. - smooth : bool, dict, :class:`ExprRef` + smooth : Map, bool, :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 : dict, float, :class:`ExprRef` + startAngle : Map, float, :class:`ExprRef` The start angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - 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'] + stroke : Map, str, 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 : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : Map, :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 : dict, Sequence[float], :class:`ExprRef` + strokeDash : Map, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : dict, float, :class:`ExprRef` + strokeDashOffset : Map, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : Map, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : dict, float, :class:`ExprRef` + strokeMiterLimit : Map, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOffset : dict, float, :class:`ExprRef` + strokeOffset : Map, 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 : dict, float, :class:`ExprRef` + strokeOpacity : Map, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : dict, float, :class:`ExprRef` + strokeWidth : Map, float, :class:`ExprRef` The stroke width, in pixels. - tension : dict, float, :class:`ExprRef` + tension : Map, float, :class:`ExprRef` Depending on the interpolation type, sets the tension parameter (for line and area marks). - text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` + text : Map, str, :class:`Text`, Sequence[str], :class:`ExprRef` Placeholder text if the ``text`` channel is not specified - theta : dict, float, :class:`ExprRef` + theta : Map, 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 : dict, float, :class:`ExprRef` + theta2 : Map, 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 @@ -939,7 +939,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`TooltipContent` + tooltip : Map, str, bool, 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. @@ -953,28 +953,28 @@ class AreaConfig(AnyMarkConfig): documentation for a detailed discussion about tooltip in Vega-Lite. **Default value:** ``null`` - url : str, dict, :class:`URI`, :class:`ExprRef` + url : Map, str, :class:`URI`, :class:`ExprRef` The URL of the image file for image marks. - width : dict, float, :class:`ExprRef` + width : Map, float, :class:`ExprRef` Width of the marks. - x : dict, float, :class:`ExprRef`, Literal['width'] + x : Map, float, :class:`ExprRef`, Literal['width'] 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 : dict, float, :class:`ExprRef`, Literal['width'] + x2 : Map, float, :class:`ExprRef`, Literal['width'] 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 : dict, float, :class:`ExprRef`, Literal['height'] + y : Map, float, :class:`ExprRef`, Literal['height'] 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 : dict, float, :class:`ExprRef`, Literal['height'] + y2 : Map, float, :class:`ExprRef`, Literal['height'] Y2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"height"`` for the @@ -985,102 +985,98 @@ class AreaConfig(AnyMarkConfig): def __init__( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, - endAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, + endAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - line: Optional[bool | dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + line: Optional[Map | bool | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - startAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + startAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, **kwds, ): @@ -1248,20 +1244,20 @@ class Axis(VegaLiteSchema): Parameters ---------- - aria : bool, dict, :class:`ExprRef` + aria : Map, bool, :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 : dict, float, :class:`ExprRef` + bandPosition : Map, 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 : str, dict, :class:`ExprRef` + description : Map, str, :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 @@ -1273,26 +1269,26 @@ class Axis(VegaLiteSchema): part of the axis. **Default value:** ``true`` - domainCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] + domainCap : Map, :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 : 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'] + domainColor : Map, str, 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 : dict, Sequence[float], :class:`ExprRef` + domainDash : Map, Sequence[float], :class:`ExprRef` An array of alternating [stroke, space] lengths for dashed domain lines. - domainDashOffset : dict, float, :class:`ExprRef` + domainDashOffset : Map, float, :class:`ExprRef` The pixel offset at which to start drawing with the domain dash array. - domainOpacity : dict, float, :class:`ExprRef` + domainOpacity : Map, float, :class:`ExprRef` Opacity of the axis domain line. - domainWidth : dict, float, :class:`ExprRef` + domainWidth : Map, float, :class:`ExprRef` Stroke width of axis domain line **Default value:** ``1`` - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -1330,41 +1326,41 @@ class Axis(VegaLiteSchema): **Default value:** ``true`` for `continuous scales `__ that are not binned; otherwise, ``false``. - gridCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] + gridCap : Map, :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 : 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'] + gridColor : Map, str, 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 : dict, Sequence[float], :class:`ExprRef`, :class:`ConditionalAxisNumberArray` + gridDash : Map, Sequence[float], :class:`ExprRef`, :class:`ConditionalAxisNumberArray` An array of alternating [stroke, space] lengths for dashed grid lines. - gridDashOffset : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + gridDashOffset : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The pixel offset at which to start drawing with the grid dash array. - gridOpacity : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + gridOpacity : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The stroke opacity of grid (value between [0,1]) **Default value:** ``1`` - gridWidth : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + gridWidth : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The grid width, in pixels. **Default value:** ``1`` - labelAlign : dict, :class:`Align`, :class:`ExprRef`, :class:`ConditionalAxisLabelAlign`, Literal['left', 'center', 'right'] + labelAlign : Map, :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 : dict, float, :class:`ExprRef` + labelAngle : Map, float, :class:`ExprRef` The rotation angle of the axis labels. **Default value:** ``-90`` for nominal and ordinal fields; ``0`` otherwise. - labelBaseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, :class:`ConditionalAxisLabelBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + labelBaseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, :class:`ConditionalAxisLabelBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] 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 : bool, dict, float, :class:`ExprRef` + labelBound : Map, bool, 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 @@ -1372,7 +1368,7 @@ class Axis(VegaLiteSchema): bounding box may exceed the axis range. **Default value:** ``false``. - 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'] + labelColor : Map, str, 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 @@ -1391,35 +1387,35 @@ class Axis(VegaLiteSchema): visually group with corresponding axis ticks. **Default value:** ``true`` for axis of a continuous x-scale. Otherwise, ``false``. - labelFlushOffset : dict, float, :class:`ExprRef` + labelFlushOffset : Map, 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 : str, dict, :class:`ExprRef`, :class:`ConditionalAxisString` + labelFont : Map, str, :class:`ExprRef`, :class:`ConditionalAxisString` The font of the tick label. - labelFontSize : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + labelFontSize : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The font size of the label, in pixels. - labelFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle`, :class:`ConditionalAxisLabelFontStyle` + labelFontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle`, :class:`ConditionalAxisLabelFontStyle` Font style of the title. - labelFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, :class:`ConditionalAxisLabelFontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + labelFontWeight : Map, :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 : dict, float, :class:`ExprRef` + labelLimit : Map, float, :class:`ExprRef` Maximum allowed pixel width of axis tick labels. **Default value:** ``180`` - labelLineHeight : dict, float, :class:`ExprRef` + labelLineHeight : Map, float, :class:`ExprRef` Line height in pixels for multi-line label text or label text with ``"line-top"`` or ``"line-bottom"`` baseline. - labelOffset : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + labelOffset : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` Position offset in pixels to apply to labels, in addition to tickOffset. **Default value:** ``0`` - labelOpacity : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + labelOpacity : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The opacity of the labels. - labelOverlap : bool, dict, :class:`ExprRef`, :class:`LabelOverlap`, Literal['greedy', 'parity'] + labelOverlap : Map, bool, :class:`ExprRef`, :class:`LabelOverlap`, Literal['greedy', 'parity'] 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 @@ -1429,11 +1425,11 @@ class Axis(VegaLiteSchema): **Default value:** ``true`` for non-nominal fields with non-log scales; ``"greedy"`` for log scales; otherwise ``false``. - labelPadding : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + labelPadding : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The padding in pixels between labels and ticks. **Default value:** ``2`` - labelSeparation : dict, float, :class:`ExprRef` + labelSeparation : Map, 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. @@ -1441,30 +1437,30 @@ class Axis(VegaLiteSchema): A boolean flag indicating if labels should be included as part of the axis. **Default value:** ``true``. - maxExtent : dict, float, :class:`ExprRef` + maxExtent : Map, 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 : dict, float, :class:`ExprRef` + minExtent : Map, 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 : dict, float, :class:`ExprRef` + offset : Map, 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 : dict, :class:`ExprRef`, :class:`AxisOrient`, Literal['top', 'bottom', 'left', 'right'] + orient : Map, :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 : dict, float, :class:`ExprRef` + position : Map, 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. @@ -1479,19 +1475,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 : dict, :class:`ExprRef`, Literal['center', 'extent'] + tickBand : Map, :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 : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] + tickCap : Map, :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 : 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'] + tickColor : Map, str, 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 : dict, float, :class:`ExprRef`, :class:`TimeInterval`, :class:`TimeIntervalStep`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'year'] + tickCount : Map, 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. @@ -1505,34 +1501,34 @@ class Axis(VegaLiteSchema): **Default value**: Determine using a formula ``ceil(width/40)`` for x and ``ceil(height/40)`` for y. - tickDash : dict, Sequence[float], :class:`ExprRef`, :class:`ConditionalAxisNumberArray` + tickDash : Map, Sequence[float], :class:`ExprRef`, :class:`ConditionalAxisNumberArray` An array of alternating [stroke, space] lengths for dashed tick mark lines. - tickDashOffset : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + tickDashOffset : Map, 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 : dict, float, :class:`ExprRef` + tickMinStep : Map, 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 : dict, float, :class:`ExprRef` + tickOffset : Map, float, :class:`ExprRef` Position offset in pixels to apply to ticks, labels, and gridlines. - tickOpacity : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + tickOpacity : Map, 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 : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + tickSize : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The size in pixels of axis ticks. **Default value:** ``5`` - tickWidth : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + tickWidth : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The width, in pixels, of ticks. **Default value:** ``1`` @@ -1560,44 +1556,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 : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + titleAlign : Map, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] Horizontal text alignment of axis titles. - titleAnchor : dict, :class:`ExprRef`, :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] + titleAnchor : Map, :class:`ExprRef`, :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] Text anchor position for placing axis titles. - titleAngle : dict, float, :class:`ExprRef` + titleAngle : Map, float, :class:`ExprRef` Angle in degrees of axis titles. - titleBaseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + titleBaseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', '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 : 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'] + titleColor : Map, str, 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 : str, dict, :class:`ExprRef` + titleFont : Map, str, :class:`ExprRef` Font of the title. (e.g., ``"Helvetica Neue"``). - titleFontSize : dict, float, :class:`ExprRef` + titleFontSize : Map, float, :class:`ExprRef` Font size of the title. - titleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + titleFontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` Font style of the title. - titleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + titleFontWeight : Map, :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 : dict, float, :class:`ExprRef` + titleLimit : Map, float, :class:`ExprRef` Maximum allowed pixel width of axis titles. - titleLineHeight : dict, float, :class:`ExprRef` + titleLineHeight : Map, float, :class:`ExprRef` Line height in pixels for multi-line title text or title text with ``"line-top"`` or ``"line-bottom"`` baseline. - titleOpacity : dict, float, :class:`ExprRef` + titleOpacity : Map, float, :class:`ExprRef` Opacity of the axis title. - titlePadding : dict, float, :class:`ExprRef` + titlePadding : Map, float, :class:`ExprRef` The padding, in pixels, between title and axis. - titleX : dict, float, :class:`ExprRef` + titleX : Map, float, :class:`ExprRef` X-coordinate of the axis title relative to the axis group. - titleY : dict, float, :class:`ExprRef` + titleY : Map, float, :class:`ExprRef` Y-coordinate of the axis title relative to the axis group. - translate : dict, float, :class:`ExprRef` + translate : Map, 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 @@ -1605,7 +1601,7 @@ class Axis(VegaLiteSchema): to zero). **Default value:** ``0.5`` - values : dict, Sequence[str], Sequence[bool], Sequence[float], :class:`ExprRef`, Sequence[dict, :class:`DateTime`] + values : Map, Sequence[str], Sequence[bool], Sequence[float], :class:`ExprRef`, Sequence[Map, :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 @@ -1619,118 +1615,116 @@ class Axis(VegaLiteSchema): def __init__( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - bandPosition: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + bandPosition: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, domain: Optional[bool] = Undefined, - domainCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + domainCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, domainColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, domainDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - domainDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + domainDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, grid: Optional[bool] = Undefined, - gridCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + gridCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, gridColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - gridDash: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - gridDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - labelAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | str | None | Parameter | SchemaBase | ColorName_T + ] = Undefined, + gridDash: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + gridDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + labelAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, - labelBound: Optional[bool | dict | float | Parameter | SchemaBase] = Undefined, + labelBound: Optional[Map | bool | float | Parameter | SchemaBase] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, labelFlush: Optional[bool | float] = Undefined, - labelFlushOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFlushOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, labels: Optional[bool] = Undefined, - maxExtent: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minExtent: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - orient: Optional[dict | Parameter | SchemaBase | AxisOrient_T] = Undefined, - position: Optional[dict | float | Parameter | SchemaBase] = Undefined, + maxExtent: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minExtent: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + orient: Optional[Map | Parameter | SchemaBase | AxisOrient_T] = Undefined, + position: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, tickBand: Optional[ - dict | Parameter | SchemaBase | Literal["center", "extent"] + Map | Parameter | SchemaBase | Literal["center", "extent"] ] = Undefined, - tickCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + tickCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, tickColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickDash: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - tickDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickDash: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + tickDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, tickExtra: Optional[bool] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, tickRound: Optional[bool] = Undefined, - tickSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, ticks: Optional[bool] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, - titleAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, + titleAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T - ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - translate: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | FontWeight_T + ] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + translate: Optional[Map | float | Parameter | SchemaBase] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -1824,20 +1818,20 @@ class AxisConfig(VegaLiteSchema): Parameters ---------- - aria : bool, dict, :class:`ExprRef` + aria : Map, bool, :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 : dict, float, :class:`ExprRef` + bandPosition : Map, 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 : str, dict, :class:`ExprRef` + description : Map, str, :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 @@ -1851,26 +1845,26 @@ class AxisConfig(VegaLiteSchema): part of the axis. **Default value:** ``true`` - domainCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] + domainCap : Map, :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 : 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'] + domainColor : Map, str, 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 : dict, Sequence[float], :class:`ExprRef` + domainDash : Map, Sequence[float], :class:`ExprRef` An array of alternating [stroke, space] lengths for dashed domain lines. - domainDashOffset : dict, float, :class:`ExprRef` + domainDashOffset : Map, float, :class:`ExprRef` The pixel offset at which to start drawing with the domain dash array. - domainOpacity : dict, float, :class:`ExprRef` + domainOpacity : Map, float, :class:`ExprRef` Opacity of the axis domain line. - domainWidth : dict, float, :class:`ExprRef` + domainWidth : Map, float, :class:`ExprRef` Stroke width of axis domain line **Default value:** ``1`` - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -1908,41 +1902,41 @@ class AxisConfig(VegaLiteSchema): **Default value:** ``true`` for `continuous scales `__ that are not binned; otherwise, ``false``. - gridCap : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] + gridCap : Map, :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 : 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'] + gridColor : Map, str, 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 : dict, Sequence[float], :class:`ExprRef`, :class:`ConditionalAxisNumberArray` + gridDash : Map, Sequence[float], :class:`ExprRef`, :class:`ConditionalAxisNumberArray` An array of alternating [stroke, space] lengths for dashed grid lines. - gridDashOffset : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + gridDashOffset : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The pixel offset at which to start drawing with the grid dash array. - gridOpacity : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + gridOpacity : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The stroke opacity of grid (value between [0,1]) **Default value:** ``1`` - gridWidth : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + gridWidth : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The grid width, in pixels. **Default value:** ``1`` - labelAlign : dict, :class:`Align`, :class:`ExprRef`, :class:`ConditionalAxisLabelAlign`, Literal['left', 'center', 'right'] + labelAlign : Map, :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 : dict, float, :class:`ExprRef` + labelAngle : Map, float, :class:`ExprRef` The rotation angle of the axis labels. **Default value:** ``-90`` for nominal and ordinal fields; ``0`` otherwise. - labelBaseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, :class:`ConditionalAxisLabelBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + labelBaseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, :class:`ConditionalAxisLabelBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] 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 : bool, dict, float, :class:`ExprRef` + labelBound : Map, bool, 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 @@ -1950,7 +1944,7 @@ class AxisConfig(VegaLiteSchema): bounding box may exceed the axis range. **Default value:** ``false``. - 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'] + labelColor : Map, str, 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 @@ -1969,35 +1963,35 @@ class AxisConfig(VegaLiteSchema): visually group with corresponding axis ticks. **Default value:** ``true`` for axis of a continuous x-scale. Otherwise, ``false``. - labelFlushOffset : dict, float, :class:`ExprRef` + labelFlushOffset : Map, 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 : str, dict, :class:`ExprRef`, :class:`ConditionalAxisString` + labelFont : Map, str, :class:`ExprRef`, :class:`ConditionalAxisString` The font of the tick label. - labelFontSize : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + labelFontSize : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The font size of the label, in pixels. - labelFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle`, :class:`ConditionalAxisLabelFontStyle` + labelFontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle`, :class:`ConditionalAxisLabelFontStyle` Font style of the title. - labelFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, :class:`ConditionalAxisLabelFontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + labelFontWeight : Map, :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 : dict, float, :class:`ExprRef` + labelLimit : Map, float, :class:`ExprRef` Maximum allowed pixel width of axis tick labels. **Default value:** ``180`` - labelLineHeight : dict, float, :class:`ExprRef` + labelLineHeight : Map, float, :class:`ExprRef` Line height in pixels for multi-line label text or label text with ``"line-top"`` or ``"line-bottom"`` baseline. - labelOffset : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + labelOffset : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` Position offset in pixels to apply to labels, in addition to tickOffset. **Default value:** ``0`` - labelOpacity : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + labelOpacity : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The opacity of the labels. - labelOverlap : bool, dict, :class:`ExprRef`, :class:`LabelOverlap`, Literal['greedy', 'parity'] + labelOverlap : Map, bool, :class:`ExprRef`, :class:`LabelOverlap`, Literal['greedy', 'parity'] 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 @@ -2007,11 +2001,11 @@ class AxisConfig(VegaLiteSchema): **Default value:** ``true`` for non-nominal fields with non-log scales; ``"greedy"`` for log scales; otherwise ``false``. - labelPadding : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + labelPadding : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The padding in pixels between labels and ticks. **Default value:** ``2`` - labelSeparation : dict, float, :class:`ExprRef` + labelSeparation : Map, 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. @@ -2019,30 +2013,30 @@ class AxisConfig(VegaLiteSchema): A boolean flag indicating if labels should be included as part of the axis. **Default value:** ``true``. - maxExtent : dict, float, :class:`ExprRef` + maxExtent : Map, 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 : dict, float, :class:`ExprRef` + minExtent : Map, 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 : dict, float, :class:`ExprRef` + offset : Map, 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 : dict, :class:`ExprRef`, :class:`AxisOrient`, Literal['top', 'bottom', 'left', 'right'] + orient : Map, :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 : dict, float, :class:`ExprRef` + position : Map, 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. @@ -2057,19 +2051,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 : dict, :class:`ExprRef`, Literal['center', 'extent'] + tickBand : Map, :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 : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] + tickCap : Map, :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 : 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'] + tickColor : Map, str, 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 : dict, float, :class:`ExprRef`, :class:`TimeInterval`, :class:`TimeIntervalStep`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'year'] + tickCount : Map, 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. @@ -2083,34 +2077,34 @@ class AxisConfig(VegaLiteSchema): **Default value**: Determine using a formula ``ceil(width/40)`` for x and ``ceil(height/40)`` for y. - tickDash : dict, Sequence[float], :class:`ExprRef`, :class:`ConditionalAxisNumberArray` + tickDash : Map, Sequence[float], :class:`ExprRef`, :class:`ConditionalAxisNumberArray` An array of alternating [stroke, space] lengths for dashed tick mark lines. - tickDashOffset : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + tickDashOffset : Map, 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 : dict, float, :class:`ExprRef` + tickMinStep : Map, 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 : dict, float, :class:`ExprRef` + tickOffset : Map, float, :class:`ExprRef` Position offset in pixels to apply to ticks, labels, and gridlines. - tickOpacity : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + tickOpacity : Map, 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 : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + tickSize : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The size in pixels of axis ticks. **Default value:** ``5`` - tickWidth : dict, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` + tickWidth : Map, float, :class:`ExprRef`, :class:`ConditionalAxisNumber` The width, in pixels, of ticks. **Default value:** ``1`` @@ -2138,44 +2132,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 : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + titleAlign : Map, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] Horizontal text alignment of axis titles. - titleAnchor : dict, :class:`ExprRef`, :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] + titleAnchor : Map, :class:`ExprRef`, :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] Text anchor position for placing axis titles. - titleAngle : dict, float, :class:`ExprRef` + titleAngle : Map, float, :class:`ExprRef` Angle in degrees of axis titles. - titleBaseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + titleBaseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', '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 : 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'] + titleColor : Map, str, 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 : str, dict, :class:`ExprRef` + titleFont : Map, str, :class:`ExprRef` Font of the title. (e.g., ``"Helvetica Neue"``). - titleFontSize : dict, float, :class:`ExprRef` + titleFontSize : Map, float, :class:`ExprRef` Font size of the title. - titleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + titleFontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` Font style of the title. - titleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + titleFontWeight : Map, :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 : dict, float, :class:`ExprRef` + titleLimit : Map, float, :class:`ExprRef` Maximum allowed pixel width of axis titles. - titleLineHeight : dict, float, :class:`ExprRef` + titleLineHeight : Map, float, :class:`ExprRef` Line height in pixels for multi-line title text or title text with ``"line-top"`` or ``"line-bottom"`` baseline. - titleOpacity : dict, float, :class:`ExprRef` + titleOpacity : Map, float, :class:`ExprRef` Opacity of the axis title. - titlePadding : dict, float, :class:`ExprRef` + titlePadding : Map, float, :class:`ExprRef` The padding, in pixels, between title and axis. - titleX : dict, float, :class:`ExprRef` + titleX : Map, float, :class:`ExprRef` X-coordinate of the axis title relative to the axis group. - titleY : dict, float, :class:`ExprRef` + titleY : Map, float, :class:`ExprRef` Y-coordinate of the axis title relative to the axis group. - translate : dict, float, :class:`ExprRef` + translate : Map, 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 @@ -2183,7 +2177,7 @@ class AxisConfig(VegaLiteSchema): to zero). **Default value:** ``0.5`` - values : dict, Sequence[str], Sequence[bool], Sequence[float], :class:`ExprRef`, Sequence[dict, :class:`DateTime`] + values : Map, Sequence[str], Sequence[bool], Sequence[float], :class:`ExprRef`, Sequence[Map, :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 @@ -2197,119 +2191,117 @@ class AxisConfig(VegaLiteSchema): def __init__( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - bandPosition: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + bandPosition: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, disable: Optional[bool] = Undefined, domain: Optional[bool] = Undefined, - domainCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + domainCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, domainColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, domainDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - domainDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + domainDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, grid: Optional[bool] = Undefined, - gridCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + gridCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, gridColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - gridDash: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - gridDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - labelAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | str | None | Parameter | SchemaBase | ColorName_T + ] = Undefined, + gridDash: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + gridDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + labelAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, - labelBound: Optional[bool | dict | float | Parameter | SchemaBase] = Undefined, + labelBound: Optional[Map | bool | float | Parameter | SchemaBase] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, labelFlush: Optional[bool | float] = Undefined, - labelFlushOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFlushOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, labels: Optional[bool] = Undefined, - maxExtent: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minExtent: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - orient: Optional[dict | Parameter | SchemaBase | AxisOrient_T] = Undefined, - position: Optional[dict | float | Parameter | SchemaBase] = Undefined, + maxExtent: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minExtent: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + orient: Optional[Map | Parameter | SchemaBase | AxisOrient_T] = Undefined, + position: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, tickBand: Optional[ - dict | Parameter | SchemaBase | Literal["center", "extent"] + Map | Parameter | SchemaBase | Literal["center", "extent"] ] = Undefined, - tickCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + tickCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, tickColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickDash: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - tickDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickDash: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + tickDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, tickExtra: Optional[bool] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, tickRound: Optional[bool] = Undefined, - tickSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tickWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tickWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, ticks: Optional[bool] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, - titleAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, + titleAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T - ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - translate: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | FontWeight_T + ] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + translate: Optional[Map | float | Parameter | SchemaBase] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -2449,32 +2441,32 @@ class BarConfig(AnyMarkConfig): Parameters ---------- - align : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + align : Map, :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 : dict, float, :class:`ExprRef` + angle : Map, float, :class:`ExprRef` The rotation angle of the text, in degrees. - aria : bool, dict, :class:`ExprRef` + aria : Map, bool, :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 : str, dict, :class:`ExprRef` + ariaRole : Map, str, :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 : str, dict, :class:`ExprRef` + ariaRoleDescription : Map, str, :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 : bool, dict, :class:`ExprRef` + aspect : Map, bool, :class:`ExprRef` Whether to keep aspect ratio of image marks. - baseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + baseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', '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 @@ -2490,13 +2482,13 @@ class BarConfig(AnyMarkConfig): (preferred by statisticians) or 1 (Vega-Lite default, D3 example style). **Default value:** ``1`` - 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'] + blend : Map, :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 : 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'] + color : Map, str, :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:`` ■ :raw-html:`` @@ -2512,66 +2504,66 @@ class BarConfig(AnyMarkConfig): The default size of the bars on continuous scales. **Default value:** ``5`` - cornerRadius : dict, float, :class:`ExprRef` + cornerRadius : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` - cornerRadiusBottomLeft : dict, float, :class:`ExprRef` + cornerRadiusBottomLeft : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom left corner. **Default value:** ``0`` - cornerRadiusBottomRight : dict, float, :class:`ExprRef` + cornerRadiusBottomRight : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom right corner. **Default value:** ``0`` - cornerRadiusEnd : dict, float, :class:`ExprRef` + cornerRadiusEnd : Map, float, :class:`ExprRef` * For vertical bars, top-left and top-right corner radius. * For horizontal bars, top-right and bottom-right corner radius. - cornerRadiusTopLeft : dict, float, :class:`ExprRef` + cornerRadiusTopLeft : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top right corner. **Default value:** ``0`` - cornerRadiusTopRight : dict, float, :class:`ExprRef` + cornerRadiusTopRight : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top left corner. **Default value:** ``0`` - 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'] + cursor : Map, :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 : str, dict, :class:`ExprRef` + description : Map, str, :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 : dict, :class:`ExprRef`, :class:`TextDirection`, Literal['ltr', 'rtl'] + dir : Map, :class:`ExprRef`, :class:`TextDirection`, Literal['ltr', 'rtl'] 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 : dict, float, :class:`RelativeBandSize` + discreteBandSize : Map, 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 : dict, float, :class:`ExprRef` + dx : Map, 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 : dict, float, :class:`ExprRef` + dy : Map, 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 : str, dict, :class:`ExprRef` + ellipsis : Map, str, :class:`ExprRef` The ellipsis string for text truncated in response to the limit parameter. **Default value:** ``"…"`` - endAngle : dict, float, :class:`ExprRef` + endAngle : Map, float, :class:`ExprRef` The end angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - 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'] + fill : Map, str, 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 : dict, float, :class:`ExprRef` + fillOpacity : Map, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` @@ -2585,28 +2577,28 @@ class BarConfig(AnyMarkConfig): **Note:** This property cannot be used in a `style config `__. - font : str, dict, :class:`ExprRef` + font : Map, str, :class:`ExprRef` The typeface to set the text in (e.g., ``"Helvetica Neue"``). - fontSize : dict, float, :class:`ExprRef` + fontSize : Map, float, :class:`ExprRef` The font size, in pixels. **Default value:** ``11`` - fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + fontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` The font style (e.g., ``"italic"``). - fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : Map, :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 : dict, float, :class:`ExprRef` + height : Map, float, :class:`ExprRef` Height of the marks. - href : str, dict, :class:`URI`, :class:`ExprRef` + href : Map, str, :class:`URI`, :class:`ExprRef` A URL to load upon mouse click. If defined, the mark acts as a hyperlink. - innerRadius : dict, float, :class:`ExprRef` + innerRadius : Map, float, :class:`ExprRef` The inner radius in pixels of arc marks. ``innerRadius`` is an alias for ``radius2``. **Default value:** ``0`` - 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'] + interpolate : Map, :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: * ``"linear"``: piecewise linear segments, as in a polyline. @@ -2658,20 +2650,20 @@ class BarConfig(AnyMarkConfig): ``config.scale.invalid``, all values for the scales will be considered "valid" since they can produce a reasonable output for the scales. Thus, fields for such channels will not be filtered and will not cause path breaks. - limit : dict, float, :class:`ExprRef` + limit : Map, 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 : str, dict, :class:`ExprRef` + lineBreak : Map, str, :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 : dict, float, :class:`ExprRef` + lineHeight : Map, float, :class:`ExprRef` The line height in pixels (the spacing between subsequent lines of text) for multi-line text marks. - minBandSize : dict, float, :class:`ExprRef` + minBandSize : Map, float, :class:`ExprRef` The minimum band size for bar and rectangle marks. **Default value:** ``0.25`` - opacity : dict, float, :class:`ExprRef` + opacity : Map, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, @@ -2690,24 +2682,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 : dict, float, :class:`ExprRef` + outerRadius : Map, float, :class:`ExprRef` The outer radius in pixels of arc marks. ``outerRadius`` is an alias for ``radius``. **Default value:** ``0`` - padAngle : dict, float, :class:`ExprRef` + padAngle : Map, float, :class:`ExprRef` The angular padding applied to sides of the arc, in radians. - radius : dict, float, :class:`ExprRef` + radius : Map, 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 : dict, float, :class:`ExprRef` + radius2 : Map, float, :class:`ExprRef` The secondary (inner) radius in pixels of arc marks. **Default value:** ``0`` - shape : str, dict, :class:`ExprRef`, :class:`SymbolShape` + shape : Map, str, :class:`ExprRef`, :class:`SymbolShape` Shape of the point marks. Supported values include: * plotting shapes: ``"circle"``, ``"square"``, ``"cross"``, ``"diamond"``, @@ -2721,7 +2713,7 @@ class BarConfig(AnyMarkConfig): coordinates ranging from -1 to 1 along both the x and y dimensions.) **Default value:** ``"circle"`` - size : dict, float, :class:`ExprRef` + size : Map, float, :class:`ExprRef` Default size for marks. * For ``point``/``circle``/``square``, this represents the pixel area of the marks. @@ -2736,56 +2728,56 @@ class BarConfig(AnyMarkConfig): * ``2`` for bar marks with discrete dimensions; * ``5`` for bar marks with continuous dimensions; * ``11`` for text marks. - smooth : bool, dict, :class:`ExprRef` + smooth : Map, bool, :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 : dict, float, :class:`ExprRef` + startAngle : Map, float, :class:`ExprRef` The start angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - 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'] + stroke : Map, str, 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 : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : Map, :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 : dict, Sequence[float], :class:`ExprRef` + strokeDash : Map, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : dict, float, :class:`ExprRef` + strokeDashOffset : Map, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : Map, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : dict, float, :class:`ExprRef` + strokeMiterLimit : Map, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOffset : dict, float, :class:`ExprRef` + strokeOffset : Map, 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 : dict, float, :class:`ExprRef` + strokeOpacity : Map, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : dict, float, :class:`ExprRef` + strokeWidth : Map, float, :class:`ExprRef` The stroke width, in pixels. - tension : dict, float, :class:`ExprRef` + tension : Map, float, :class:`ExprRef` Depending on the interpolation type, sets the tension parameter (for line and area marks). - text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` + text : Map, str, :class:`Text`, Sequence[str], :class:`ExprRef` Placeholder text if the ``text`` channel is not specified - theta : dict, float, :class:`ExprRef` + theta : Map, 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 : dict, float, :class:`ExprRef` + theta2 : Map, 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 @@ -2796,7 +2788,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`TooltipContent` + tooltip : Map, str, bool, 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. @@ -2810,28 +2802,28 @@ class BarConfig(AnyMarkConfig): documentation for a detailed discussion about tooltip in Vega-Lite. **Default value:** ``null`` - url : str, dict, :class:`URI`, :class:`ExprRef` + url : Map, str, :class:`URI`, :class:`ExprRef` The URL of the image file for image marks. - width : dict, float, :class:`ExprRef` + width : Map, float, :class:`ExprRef` Width of the marks. - x : dict, float, :class:`ExprRef`, Literal['width'] + x : Map, float, :class:`ExprRef`, Literal['width'] 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 : dict, float, :class:`ExprRef`, Literal['width'] + x2 : Map, float, :class:`ExprRef`, Literal['width'] 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 : dict, float, :class:`ExprRef`, Literal['height'] + y : Map, float, :class:`ExprRef`, Literal['height'] 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 : dict, float, :class:`ExprRef`, Literal['height'] + y2 : Map, float, :class:`ExprRef`, Literal['height'] Y2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"height"`` for the @@ -2842,105 +2834,101 @@ class BarConfig(AnyMarkConfig): def __init__( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusEnd: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusEnd: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, - endAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, + endAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - startAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + startAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, **kwds, ): @@ -3032,13 +3020,13 @@ class BaseTitleNoValueRefs(VegaLiteSchema): align : :class:`Align`, Literal['left', 'center', 'right'] Horizontal text alignment for title text. One of ``"left"``, ``"center"``, or ``"right"``. - anchor : dict, :class:`ExprRef`, :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] + anchor : Map, :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 : dict, float, :class:`ExprRef` + angle : Map, float, :class:`ExprRef` Angle in degrees of title and subtitle text. - aria : bool, dict, :class:`ExprRef` + aria : Map, bool, :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 @@ -3051,53 +3039,53 @@ class BaseTitleNoValueRefs(VegaLiteSchema): ``"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 : 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 : Map, str, 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 : dict, float, :class:`ExprRef` + dx : Map, float, :class:`ExprRef` Delta offset for title and subtitle text x-coordinate. - dy : dict, float, :class:`ExprRef` + dy : Map, float, :class:`ExprRef` Delta offset for title and subtitle text y-coordinate. - font : str, dict, :class:`ExprRef` + font : Map, str, :class:`ExprRef` Font name for title text. - fontSize : dict, float, :class:`ExprRef` + fontSize : Map, float, :class:`ExprRef` Font size in pixels for title text. - fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + fontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` Font style for title text. - fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : Map, :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 : str, dict, :class:`ExprRef`, :class:`TitleFrame`, Literal['bounds', 'group'] + frame : Map, str, :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 : dict, float, :class:`ExprRef` + limit : Map, float, :class:`ExprRef` The maximum allowed length in pixels of title and subtitle text. - lineHeight : dict, float, :class:`ExprRef` + lineHeight : Map, float, :class:`ExprRef` Line height in pixels for multi-line title text or title text with ``"line-top"`` or ``"line-bottom"`` baseline. - offset : dict, float, :class:`ExprRef` + offset : Map, 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 : dict, :class:`ExprRef`, :class:`TitleOrient`, Literal['none', 'left', 'right', 'top', 'bottom'] + orient : Map, :class:`ExprRef`, :class:`TitleOrient`, Literal['none', 'left', 'right', 'top', 'bottom'] Default title orientation (``"top"``, ``"bottom"``, ``"left"``, or ``"right"``) - 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'] + subtitleColor : Map, str, 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 : str, dict, :class:`ExprRef` + subtitleFont : Map, str, :class:`ExprRef` Font name for subtitle text. - subtitleFontSize : dict, float, :class:`ExprRef` + subtitleFontSize : Map, float, :class:`ExprRef` Font size in pixels for subtitle text. - subtitleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + subtitleFontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` Font style for subtitle text. - subtitleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + subtitleFontWeight : Map, :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 : dict, float, :class:`ExprRef` + subtitleLineHeight : Map, float, :class:`ExprRef` Line height in pixels for multi-line subtitle text. - subtitlePadding : dict, float, :class:`ExprRef` + subtitlePadding : Map, float, :class:`ExprRef` The padding in pixels between title and subtitle text. - zindex : dict, float, :class:`ExprRef` + zindex : Map, float, :class:`ExprRef` The integer z-index indicating the layering of the title group relative to other axis, mark, and legend groups. @@ -3109,36 +3097,36 @@ class BaseTitleNoValueRefs(VegaLiteSchema): def __init__( self, align: Optional[SchemaBase | Align_T] = Undefined, - anchor: Optional[dict | Parameter | SchemaBase | TitleAnchor_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + anchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, baseline: Optional[SchemaBase | TextBaseline_T] = Undefined, color: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - frame: Optional[str | dict | Parameter | SchemaBase | TitleFrame_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - orient: Optional[dict | Parameter | SchemaBase | TitleOrient_T] = Undefined, + Map | str | None | Parameter | SchemaBase | ColorName_T + ] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + frame: Optional[Map | str | Parameter | SchemaBase | TitleFrame_T] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + orient: Optional[Map | Parameter | SchemaBase | TitleOrient_T] = Undefined, subtitleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - subtitleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - subtitleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - subtitleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + subtitleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + subtitleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + subtitleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, subtitleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - subtitleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - subtitlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - zindex: Optional[dict | float | Parameter | SchemaBase] = Undefined, + subtitleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + subtitlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + zindex: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -3207,7 +3195,7 @@ class BinParams(VegaLiteSchema): also satisfy the given constraints. **Default value:** ``[5, 2]`` - extent : dict, Sequence[float], :class:`BinExtent`, :class:`ParameterExtent` + extent : Map, 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. @@ -3237,7 +3225,7 @@ def __init__( base: Optional[float] = Undefined, binned: Optional[bool] = Undefined, divide: Optional[Sequence[float]] = Undefined, - extent: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + extent: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, maxbins: Optional[float] = Undefined, minstep: Optional[float] = Undefined, nice: Optional[bool] = Undefined, @@ -3310,7 +3298,7 @@ class BindDirect(Binding): Parameters ---------- - element : str, dict, :class:`Element` + element : Map, str, :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 @@ -3329,7 +3317,7 @@ class BindDirect(Binding): def __init__( self, - element: Optional[str | dict | SchemaBase] = Undefined, + element: Optional[Map | str | SchemaBase] = Undefined, debounce: Optional[float] = Undefined, event: Optional[str] = Undefined, **kwds, @@ -3514,7 +3502,7 @@ class BoxPlotConfig(VegaLiteSchema): Parameters ---------- - box : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + box : Map, bool, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` extent : float, Literal['min-max'] The extent of the whiskers. Available options include: @@ -3527,15 +3515,15 @@ class BoxPlotConfig(VegaLiteSchema): range (*Q3-Q1*). **Default value:** ``1.5``. - median : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + median : Map, bool, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` - outliers : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + outliers : Map, bool, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` - rule : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + rule : Map, bool, :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 : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + ticks : Map, bool, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` """ @@ -3543,13 +3531,13 @@ class BoxPlotConfig(VegaLiteSchema): def __init__( self, - box: Optional[bool | dict | SchemaBase] = Undefined, + box: Optional[Map | bool | SchemaBase] = Undefined, extent: Optional[float | Literal["min-max"]] = Undefined, - median: Optional[bool | dict | SchemaBase] = Undefined, - outliers: Optional[bool | dict | SchemaBase] = Undefined, - rule: Optional[bool | dict | SchemaBase] = Undefined, + median: Optional[Map | bool | SchemaBase] = Undefined, + outliers: Optional[Map | bool | SchemaBase] = Undefined, + rule: Optional[Map | bool | SchemaBase] = Undefined, size: Optional[float] = Undefined, - ticks: Optional[bool | dict | SchemaBase] = Undefined, + ticks: Optional[Map | bool | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -3706,11 +3694,11 @@ class BoxPlotDef(CompositeMarkDef): ``"square"``, ``"tick"``, ``"line"``, ``"area"``, ``"point"``, ``"geoshape"``, ``"rule"``, and ``"text"``) or a composite mark type (``"boxplot"``, ``"errorband"``, ``"errorbar"``). - box : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + box : Map, bool, :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 : 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'] + color : Map, str, :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:`` ■ :raw-html:`` @@ -3764,7 +3752,7 @@ class BoxPlotDef(CompositeMarkDef): ``config.scale.invalid``, all values for the scales will be considered "valid" since they can produce a reasonable output for the scales. Thus, fields for such channels will not be filtered and will not cause path breaks. - median : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + median : Map, bool, :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. @@ -3774,13 +3762,13 @@ class BoxPlotDef(CompositeMarkDef): when the orientation is ambiguous. **Default value:** ``"vertical"``. - outliers : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + outliers : Map, bool, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` - rule : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + rule : Map, bool, :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 : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + ticks : Map, bool, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` """ @@ -3789,18 +3777,18 @@ class BoxPlotDef(CompositeMarkDef): def __init__( self, type: Optional[SchemaBase | BoxPlot_T] = Undefined, - box: Optional[bool | dict | SchemaBase] = Undefined, + box: Optional[Map | bool | SchemaBase] = Undefined, clip: Optional[bool] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, extent: Optional[float | Literal["min-max"]] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - median: Optional[bool | dict | SchemaBase] = Undefined, + median: Optional[Map | bool | SchemaBase] = Undefined, opacity: Optional[float] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outliers: Optional[bool | dict | SchemaBase] = Undefined, - rule: Optional[bool | dict | SchemaBase] = Undefined, + outliers: Optional[Map | bool | SchemaBase] = Undefined, + rule: Optional[Map | bool | SchemaBase] = Undefined, size: Optional[float] = Undefined, - ticks: Optional[bool | dict | SchemaBase] = Undefined, + ticks: Optional[Map | bool | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -4161,7 +4149,7 @@ class ConditionalParameterStringFieldDef(ConditionalStringFieldDef): ---------- param : str, :class:`ParameterName` Filter using a parameter name. - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -4173,7 +4161,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -4197,7 +4185,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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -4212,7 +4200,7 @@ class ConditionalParameterStringFieldDef(ConditionalStringFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -4244,7 +4232,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 : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -4346,15 +4334,15 @@ class ConditionalParameterStringFieldDef(ConditionalStringFieldDef): def __init__( self, param: Optional[str | SchemaBase] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, empty: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -4382,9 +4370,9 @@ class ConditionalPredicateStringFieldDef(ConditionalStringFieldDef): Parameters ---------- - 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` + test : Map, str, :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 : 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -4396,7 +4384,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -4417,7 +4405,7 @@ class ConditionalPredicateStringFieldDef(ConditionalStringFieldDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -4432,7 +4420,7 @@ class ConditionalPredicateStringFieldDef(ConditionalStringFieldDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -4464,7 +4452,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 : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -4565,15 +4553,15 @@ class ConditionalPredicateStringFieldDef(ConditionalStringFieldDef): def __init__( self, - test: Optional[str | dict | SchemaBase] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -4615,7 +4603,7 @@ class ConditionalParameterValueDefGradientstringnullExprRef( ---------- param : str, :class:`ParameterName` Filter using a parameter name. - value : str, dict, None, :class:`ExprRef`, :class:`Gradient`, :class:`LinearGradient`, :class:`RadialGradient` + value : Map, str, 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). @@ -4631,7 +4619,7 @@ class ConditionalParameterValueDefGradientstringnullExprRef( def __init__( self, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, **kwds, ): @@ -4646,9 +4634,9 @@ class ConditionalPredicateValueDefGradientstringnullExprRef( Parameters ---------- - 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` + test : Map, str, :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 : str, dict, None, :class:`ExprRef`, :class:`Gradient`, :class:`LinearGradient`, :class:`RadialGradient` + value : Map, str, 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). @@ -4660,8 +4648,8 @@ class ConditionalPredicateValueDefGradientstringnullExprRef( def __init__( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__(test=test, value=value, **kwds) @@ -4684,7 +4672,7 @@ class ConditionalParameterValueDefTextExprRef(ConditionalValueDefTextExprRef): ---------- param : str, :class:`ParameterName` Filter using a parameter name. - value : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` + value : Map, str, :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). @@ -4698,9 +4686,7 @@ class ConditionalParameterValueDefTextExprRef(ConditionalValueDefTextExprRef): def __init__( self, param: Optional[str | SchemaBase] = Undefined, - value: Optional[ - str | dict | Parameter | SchemaBase | Sequence[str] - ] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, empty: Optional[bool] = Undefined, **kwds, ): @@ -4713,9 +4699,9 @@ class ConditionalPredicateValueDefTextExprRef(ConditionalValueDefTextExprRef): Parameters ---------- - 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` + test : Map, str, :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 : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` + value : Map, str, :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). @@ -4725,10 +4711,8 @@ class ConditionalPredicateValueDefTextExprRef(ConditionalValueDefTextExprRef): def __init__( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[ - str | dict | Parameter | SchemaBase | Sequence[str] - ] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, **kwds, ): super().__init__(test=test, value=value, **kwds) @@ -4778,7 +4762,7 @@ class ConditionalPredicateValueDefnumber(ConditionalValueDefnumber): Parameters ---------- - 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` + test : Map, str, :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 @@ -4790,7 +4774,7 @@ class ConditionalPredicateValueDefnumber(ConditionalValueDefnumber): def __init__( self, - test: Optional[str | dict | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, value: Optional[float] = Undefined, **kwds, ): @@ -4816,7 +4800,7 @@ class ConditionalParameterValueDefnumberArrayExprRef( ---------- param : str, :class:`ParameterName` Filter using a parameter name. - value : dict, Sequence[float], :class:`ExprRef` + value : Map, 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). @@ -4832,7 +4816,7 @@ class ConditionalParameterValueDefnumberArrayExprRef( def __init__( self, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + value: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, empty: Optional[bool] = Undefined, **kwds, ): @@ -4847,9 +4831,9 @@ class ConditionalPredicateValueDefnumberArrayExprRef( Parameters ---------- - 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` + test : Map, str, :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 : dict, Sequence[float], :class:`ExprRef` + value : Map, 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). @@ -4861,8 +4845,8 @@ class ConditionalPredicateValueDefnumberArrayExprRef( def __init__( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, **kwds, ): super().__init__(test=test, value=value, **kwds) @@ -4885,7 +4869,7 @@ class ConditionalParameterValueDefnumberExprRef(ConditionalValueDefnumberExprRef ---------- param : str, :class:`ParameterName` Filter using a parameter name. - value : dict, float, :class:`ExprRef` + value : Map, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -4899,7 +4883,7 @@ class ConditionalParameterValueDefnumberExprRef(ConditionalValueDefnumberExprRef def __init__( self, param: Optional[str | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, **kwds, ): @@ -4912,9 +4896,9 @@ class ConditionalPredicateValueDefnumberExprRef(ConditionalValueDefnumberExprRef Parameters ---------- - 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` + test : Map, str, :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 : dict, float, :class:`ExprRef` + value : Map, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -4924,8 +4908,8 @@ class ConditionalPredicateValueDefnumberExprRef(ConditionalValueDefnumberExprRef def __init__( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__(test=test, value=value, **kwds) @@ -4948,7 +4932,7 @@ class ConditionalParameterValueDefstringExprRef(ConditionalValueDefstringExprRef ---------- param : str, :class:`ParameterName` Filter using a parameter name. - value : str, dict, :class:`ExprRef` + value : Map, str, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -4962,7 +4946,7 @@ class ConditionalParameterValueDefstringExprRef(ConditionalValueDefstringExprRef def __init__( self, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, **kwds, ): @@ -4975,9 +4959,9 @@ class ConditionalPredicateValueDefstringExprRef(ConditionalValueDefstringExprRef Parameters ---------- - 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` + test : Map, str, :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 : str, dict, :class:`ExprRef` + value : Map, str, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -4987,8 +4971,8 @@ class ConditionalPredicateValueDefstringExprRef(ConditionalValueDefstringExprRef def __init__( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__(test=test, value=value, **kwds) @@ -5013,7 +4997,7 @@ class ConditionalParameterValueDefstringnullExprRef( ---------- param : str, :class:`ParameterName` Filter using a parameter name. - value : str, dict, None, :class:`ExprRef` + value : Map, str, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -5029,7 +5013,7 @@ class ConditionalParameterValueDefstringnullExprRef( def __init__( self, param: Optional[str | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, empty: Optional[bool] = Undefined, **kwds, ): @@ -5044,9 +5028,9 @@ class ConditionalPredicateValueDefstringnullExprRef( Parameters ---------- - 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` + test : Map, str, :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 : str, dict, None, :class:`ExprRef` + value : Map, str, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -5058,8 +5042,8 @@ class ConditionalPredicateValueDefstringnullExprRef( def __init__( self, - test: Optional[str | dict | SchemaBase] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + test: Optional[Map | str | SchemaBase] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__(test=test, value=value, **kwds) @@ -5071,9 +5055,9 @@ class Config(VegaLiteSchema): Parameters ---------- - arc : dict, :class:`RectConfig` + arc : Map, :class:`RectConfig` Arc-specific Config - area : dict, :class:`AreaConfig` + area : Map, :class:`AreaConfig` Area-Specific Config aria : bool A boolean flag indicating if ARIA default attributes should be included for marks @@ -5082,70 +5066,70 @@ class Config(VegaLiteSchema): not generate default descriptions for marks. **Default value:** ``true``. - autosize : dict, :class:`AutosizeType`, :class:`AutoSizeParams`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] + autosize : Map, :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 : dict, :class:`AxisConfig` + axis : Map, :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 : dict, :class:`AxisConfig` + axisBand : Map, :class:`AxisConfig` Config for axes with "band" scales. - axisBottom : dict, :class:`AxisConfig` + axisBottom : Map, :class:`AxisConfig` Config for x-axis along the bottom edge of the chart. - axisDiscrete : dict, :class:`AxisConfig` + axisDiscrete : Map, :class:`AxisConfig` Config for axes with "point" or "band" scales. - axisLeft : dict, :class:`AxisConfig` + axisLeft : Map, :class:`AxisConfig` Config for y-axis along the left edge of the chart. - axisPoint : dict, :class:`AxisConfig` + axisPoint : Map, :class:`AxisConfig` Config for axes with "point" scales. - axisQuantitative : dict, :class:`AxisConfig` + axisQuantitative : Map, :class:`AxisConfig` Config for quantitative axes. - axisRight : dict, :class:`AxisConfig` + axisRight : Map, :class:`AxisConfig` Config for y-axis along the right edge of the chart. - axisTemporal : dict, :class:`AxisConfig` + axisTemporal : Map, :class:`AxisConfig` Config for temporal axes. - axisTop : dict, :class:`AxisConfig` + axisTop : Map, :class:`AxisConfig` Config for x-axis along the top edge of the chart. - axisX : dict, :class:`AxisConfig` + axisX : Map, :class:`AxisConfig` X-axis specific config. - axisXBand : dict, :class:`AxisConfig` + axisXBand : Map, :class:`AxisConfig` Config for x-axes with "band" scales. - axisXDiscrete : dict, :class:`AxisConfig` + axisXDiscrete : Map, :class:`AxisConfig` Config for x-axes with "point" or "band" scales. - axisXPoint : dict, :class:`AxisConfig` + axisXPoint : Map, :class:`AxisConfig` Config for x-axes with "point" scales. - axisXQuantitative : dict, :class:`AxisConfig` + axisXQuantitative : Map, :class:`AxisConfig` Config for x-quantitative axes. - axisXTemporal : dict, :class:`AxisConfig` + axisXTemporal : Map, :class:`AxisConfig` Config for x-temporal axes. - axisY : dict, :class:`AxisConfig` + axisY : Map, :class:`AxisConfig` Y-axis specific config. - axisYBand : dict, :class:`AxisConfig` + axisYBand : Map, :class:`AxisConfig` Config for y-axes with "band" scales. - axisYDiscrete : dict, :class:`AxisConfig` + axisYDiscrete : Map, :class:`AxisConfig` Config for y-axes with "point" or "band" scales. - axisYPoint : dict, :class:`AxisConfig` + axisYPoint : Map, :class:`AxisConfig` Config for y-axes with "point" scales. - axisYQuantitative : dict, :class:`AxisConfig` + axisYQuantitative : Map, :class:`AxisConfig` Config for y-quantitative axes. - axisYTemporal : dict, :class:`AxisConfig` + axisYTemporal : Map, :class:`AxisConfig` Config for y-temporal axes. - 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'] + background : Map, str, :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 : dict, :class:`BarConfig` + bar : Map, :class:`BarConfig` Bar-Specific Config - boxplot : dict, :class:`BoxPlotConfig` + boxplot : Map, :class:`BoxPlotConfig` Box Config - circle : dict, :class:`MarkConfig` + circle : Map, :class:`MarkConfig` Circle-Specific Config - concat : dict, :class:`CompositionConfig` + concat : Map, :class:`CompositionConfig` Default configuration for all concatenation and repeat view composition operators (``concat``, ``hconcat``, ``vconcat``, and ``repeat``) countTitle : str @@ -5156,11 +5140,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 : dict, :class:`ErrorBandConfig` + errorband : Map, :class:`ErrorBandConfig` ErrorBand Config - errorbar : dict, :class:`ErrorBarConfig` + errorbar : Map, :class:`ErrorBarConfig` ErrorBar Config - facet : dict, :class:`CompositionConfig` + facet : Map, :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: @@ -5173,58 +5157,58 @@ class Config(VegaLiteSchema): "date", "field"). font : str Default font for all text marks, titles, and labels. - geoshape : dict, :class:`MarkConfig` + geoshape : Map, :class:`MarkConfig` Geoshape-Specific Config - header : dict, :class:`HeaderConfig` + header : Map, :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 : dict, :class:`HeaderConfig` + headerColumn : Map, :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 : dict, :class:`HeaderConfig` + headerFacet : Map, :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 : dict, :class:`HeaderConfig` + headerRow : Map, :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 : dict, :class:`RectConfig` + image : Map, :class:`RectConfig` Image-specific Config - legend : dict, :class:`LegendConfig` + legend : Map, :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 : dict, :class:`LineConfig` + line : Map, :class:`LineConfig` Line-Specific Config - lineBreak : str, dict, :class:`ExprRef` + lineBreak : Map, str, :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 : dict, :class:`Locale` + locale : Map, :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 : dict, :class:`MarkConfig` + mark : Map, :class:`MarkConfig` Mark Config normalizedNumberFormat : str If normalizedNumberFormatType is not specified, D3 number format for axis labels, @@ -5263,50 +5247,50 @@ class Config(VegaLiteSchema): exposed as `format in Vega-Expression `__. **Note:** You must also set ``customFormatTypes`` to ``true`` to use this feature. - padding : dict, float, :class:`ExprRef`, :class:`Padding` + padding : Map, 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[dict, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] + params : Sequence[Map, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] Dynamic variables or selections that parameterize a visualization. - point : dict, :class:`MarkConfig` + point : Map, :class:`MarkConfig` Point-Specific Config - projection : dict, :class:`ProjectionConfig` + projection : Map, :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 : dict, :class:`RangeConfig` + range : Map, :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 : dict, :class:`RectConfig` + rect : Map, :class:`RectConfig` Rect-Specific Config - rule : dict, :class:`MarkConfig` + rule : Map, :class:`MarkConfig` Rule-Specific Config - scale : dict, :class:`ScaleConfig` + scale : Map, :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 : dict, :class:`SelectionConfig` + selection : Map, :class:`SelectionConfig` An object hash for defining default properties for each type of selections. - square : dict, :class:`MarkConfig` + square : Map, :class:`MarkConfig` Square-Specific Config - style : dict, :class:`StyleConfigIndex` + style : Map, :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 : dict, :class:`MarkConfig` + text : Map, :class:`MarkConfig` Text-Specific Config - tick : dict, :class:`TickConfig` + tick : Map, :class:`TickConfig` Tick-Specific Config timeFormat : str Default time format for raw time values (without time units) in text marks, legend @@ -5324,18 +5308,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 : dict, :class:`TitleConfig` + title : Map, :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 : dict, :class:`FormatConfig` + tooltipFormat : Map, :class:`FormatConfig` Define `custom format configuration `__ for tooltips. If unspecified, default format config will be applied. - trail : dict, :class:`LineConfig` + trail : Map, :class:`LineConfig` Trail-Specific Config - view : dict, :class:`ViewConfig` + view : Map, :class:`ViewConfig` Default properties for `single view plots `__. """ @@ -5344,80 +5328,80 @@ class Config(VegaLiteSchema): def __init__( self, - arc: Optional[dict | SchemaBase] = Undefined, - area: Optional[dict | SchemaBase] = Undefined, + arc: Optional[Map | SchemaBase] = Undefined, + area: Optional[Map | SchemaBase] = Undefined, aria: Optional[bool] = Undefined, - autosize: Optional[dict | SchemaBase | AutosizeType_T] = Undefined, - axis: Optional[dict | SchemaBase] = Undefined, - axisBand: Optional[dict | SchemaBase] = Undefined, - axisBottom: Optional[dict | SchemaBase] = Undefined, - axisDiscrete: Optional[dict | SchemaBase] = Undefined, - axisLeft: Optional[dict | SchemaBase] = Undefined, - axisPoint: Optional[dict | SchemaBase] = Undefined, - axisQuantitative: Optional[dict | SchemaBase] = Undefined, - axisRight: Optional[dict | SchemaBase] = Undefined, - axisTemporal: Optional[dict | SchemaBase] = Undefined, - axisTop: Optional[dict | SchemaBase] = Undefined, - axisX: Optional[dict | SchemaBase] = Undefined, - axisXBand: Optional[dict | SchemaBase] = Undefined, - axisXDiscrete: Optional[dict | SchemaBase] = Undefined, - axisXPoint: Optional[dict | SchemaBase] = Undefined, - axisXQuantitative: Optional[dict | SchemaBase] = Undefined, - axisXTemporal: Optional[dict | SchemaBase] = Undefined, - axisY: Optional[dict | SchemaBase] = Undefined, - axisYBand: Optional[dict | SchemaBase] = Undefined, - axisYDiscrete: Optional[dict | SchemaBase] = Undefined, - axisYPoint: Optional[dict | SchemaBase] = Undefined, - axisYQuantitative: Optional[dict | SchemaBase] = Undefined, - axisYTemporal: Optional[dict | SchemaBase] = Undefined, + autosize: Optional[Map | SchemaBase | AutosizeType_T] = Undefined, + axis: Optional[Map | SchemaBase] = Undefined, + axisBand: Optional[Map | SchemaBase] = Undefined, + axisBottom: Optional[Map | SchemaBase] = Undefined, + axisDiscrete: Optional[Map | SchemaBase] = Undefined, + axisLeft: Optional[Map | SchemaBase] = Undefined, + axisPoint: Optional[Map | SchemaBase] = Undefined, + axisQuantitative: Optional[Map | SchemaBase] = Undefined, + axisRight: Optional[Map | SchemaBase] = Undefined, + axisTemporal: Optional[Map | SchemaBase] = Undefined, + axisTop: Optional[Map | SchemaBase] = Undefined, + axisX: Optional[Map | SchemaBase] = Undefined, + axisXBand: Optional[Map | SchemaBase] = Undefined, + axisXDiscrete: Optional[Map | SchemaBase] = Undefined, + axisXPoint: Optional[Map | SchemaBase] = Undefined, + axisXQuantitative: Optional[Map | SchemaBase] = Undefined, + axisXTemporal: Optional[Map | SchemaBase] = Undefined, + axisY: Optional[Map | SchemaBase] = Undefined, + axisYBand: Optional[Map | SchemaBase] = Undefined, + axisYDiscrete: Optional[Map | SchemaBase] = Undefined, + axisYPoint: Optional[Map | SchemaBase] = Undefined, + axisYQuantitative: Optional[Map | SchemaBase] = Undefined, + axisYTemporal: Optional[Map | SchemaBase] = Undefined, background: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, - bar: Optional[dict | SchemaBase] = Undefined, - boxplot: Optional[dict | SchemaBase] = Undefined, - circle: Optional[dict | SchemaBase] = Undefined, - concat: Optional[dict | SchemaBase] = Undefined, + bar: Optional[Map | SchemaBase] = Undefined, + boxplot: Optional[Map | SchemaBase] = Undefined, + circle: Optional[Map | SchemaBase] = Undefined, + concat: Optional[Map | SchemaBase] = Undefined, countTitle: Optional[str] = Undefined, customFormatTypes: Optional[bool] = Undefined, - errorband: Optional[dict | SchemaBase] = Undefined, - errorbar: Optional[dict | SchemaBase] = Undefined, - facet: Optional[dict | SchemaBase] = Undefined, + errorband: Optional[Map | SchemaBase] = Undefined, + errorbar: Optional[Map | SchemaBase] = Undefined, + facet: Optional[Map | SchemaBase] = Undefined, fieldTitle: Optional[Literal["verbal", "functional", "plain"]] = Undefined, font: Optional[str] = Undefined, - geoshape: Optional[dict | SchemaBase] = Undefined, - header: Optional[dict | SchemaBase] = Undefined, - headerColumn: Optional[dict | SchemaBase] = Undefined, - headerFacet: Optional[dict | SchemaBase] = Undefined, - headerRow: Optional[dict | SchemaBase] = Undefined, - image: Optional[dict | SchemaBase] = Undefined, - legend: Optional[dict | SchemaBase] = Undefined, - line: Optional[dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - locale: Optional[dict | SchemaBase] = Undefined, - mark: Optional[dict | SchemaBase] = Undefined, + geoshape: Optional[Map | SchemaBase] = Undefined, + header: Optional[Map | SchemaBase] = Undefined, + headerColumn: Optional[Map | SchemaBase] = Undefined, + headerFacet: Optional[Map | SchemaBase] = Undefined, + headerRow: Optional[Map | SchemaBase] = Undefined, + image: Optional[Map | SchemaBase] = Undefined, + legend: Optional[Map | SchemaBase] = Undefined, + line: Optional[Map | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + locale: Optional[Map | SchemaBase] = Undefined, + mark: Optional[Map | SchemaBase] = Undefined, normalizedNumberFormat: Optional[str] = Undefined, normalizedNumberFormatType: Optional[str] = Undefined, numberFormat: Optional[str] = Undefined, numberFormatType: Optional[str] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - params: Optional[Sequence[dict | SchemaBase]] = Undefined, - point: Optional[dict | SchemaBase] = Undefined, - projection: Optional[dict | SchemaBase] = Undefined, - range: Optional[dict | SchemaBase] = Undefined, - rect: Optional[dict | SchemaBase] = Undefined, - rule: Optional[dict | SchemaBase] = Undefined, - scale: Optional[dict | SchemaBase] = Undefined, - selection: Optional[dict | SchemaBase] = Undefined, - square: Optional[dict | SchemaBase] = Undefined, - style: Optional[dict | SchemaBase] = Undefined, - text: Optional[dict | SchemaBase] = Undefined, - tick: Optional[dict | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + params: Optional[Sequence[Map | SchemaBase]] = Undefined, + point: Optional[Map | SchemaBase] = Undefined, + projection: Optional[Map | SchemaBase] = Undefined, + range: Optional[Map | SchemaBase] = Undefined, + rect: Optional[Map | SchemaBase] = Undefined, + rule: Optional[Map | SchemaBase] = Undefined, + scale: Optional[Map | SchemaBase] = Undefined, + selection: Optional[Map | SchemaBase] = Undefined, + square: Optional[Map | SchemaBase] = Undefined, + style: Optional[Map | SchemaBase] = Undefined, + text: Optional[Map | SchemaBase] = Undefined, + tick: Optional[Map | SchemaBase] = Undefined, timeFormat: Optional[str] = Undefined, timeFormatType: Optional[str] = Undefined, - title: Optional[dict | SchemaBase] = Undefined, - tooltipFormat: Optional[dict | SchemaBase] = Undefined, - trail: Optional[dict | SchemaBase] = Undefined, - view: Optional[dict | SchemaBase] = Undefined, + title: Optional[Map | SchemaBase] = Undefined, + tooltipFormat: Optional[Map | SchemaBase] = Undefined, + trail: Optional[Map | SchemaBase] = Undefined, + view: Optional[Map | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -5539,7 +5523,7 @@ class CsvDataFormat(DataFormat): Parameters ---------- - parse : dict, None, :class:`Parse` + parse : Map, 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 @@ -5566,7 +5550,7 @@ class CsvDataFormat(DataFormat): def __init__( self, - parse: Optional[dict | None | SchemaBase] = Undefined, + parse: Optional[Map | None | SchemaBase] = Undefined, type: Optional[Literal["csv", "tsv"]] = Undefined, **kwds, ): @@ -5651,7 +5635,7 @@ class DomainUnionWith(VegaLiteSchema): Parameters ---------- - unionWith : Sequence[str, bool, dict, float, :class:`DateTime`] + unionWith : Sequence[Map, str, bool, 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. """ @@ -5661,7 +5645,7 @@ class DomainUnionWith(VegaLiteSchema): def __init__( self, unionWith: Optional[ - Sequence[str | bool | dict | float | SchemaBase] + Sequence[Map | str | bool | float | SchemaBase] ] = Undefined, **kwds, ): @@ -5678,7 +5662,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 : dict, None, :class:`Parse` + parse : Map, 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 @@ -5706,7 +5690,7 @@ class DsvDataFormat(DataFormat): def __init__( self, delimiter: Optional[str] = Undefined, - parse: Optional[dict | None | SchemaBase] = Undefined, + parse: Optional[Map | None | SchemaBase] = Undefined, type: Optional[Literal["dsv"]] = Undefined, **kwds, ): @@ -5728,9 +5712,9 @@ class Encoding(VegaLiteSchema): Parameters ---------- - angle : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` + angle : Map, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` Rotation angle of point and text marks. - color : dict, :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull` + color : Map, :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"`` / @@ -5746,49 +5730,49 @@ class Encoding(VegaLiteSchema): encoding if conflicting encodings are specified. 2) See the scale documentation for more information about customizing `color scheme `__. - description : dict, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition` + description : Map, :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 : dict, :class:`FieldDefWithoutScale`, Sequence[dict, :class:`FieldDefWithoutScale`] + detail : Map, :class:`FieldDefWithoutScale`, Sequence[Map, :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, :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull` + fill : Map, :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 : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` + fillOpacity : Map, :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 : dict, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition` + href : Map, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition` A URL to load upon mouse click. - key : dict, :class:`FieldDefWithoutScale` + key : Map, :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 : dict, :class:`DatumDef`, :class:`LatLongDef`, :class:`LatLongFieldDef` + latitude : Map, :class:`DatumDef`, :class:`LatLongDef`, :class:`LatLongFieldDef` Latitude position of geographically projected marks. - latitude2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` + latitude2 : Map, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` Latitude-2 position for geographically projected ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. - longitude : dict, :class:`DatumDef`, :class:`LatLongDef`, :class:`LatLongFieldDef` + longitude : Map, :class:`DatumDef`, :class:`LatLongDef`, :class:`LatLongFieldDef` Longitude position of geographically projected marks. - longitude2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` + longitude2 : Map, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` Longitude-2 position for geographically projected ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. - opacity : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` + opacity : Map, :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 : dict, :class:`OrderOnlyDef`, :class:`OrderFieldDef`, :class:`OrderValueDef`, Sequence[dict, :class:`OrderFieldDef`] + order : Map, :class:`OrderOnlyDef`, :class:`OrderFieldDef`, :class:`OrderValueDef`, Sequence[Map, :class:`OrderFieldDef`] Order of the marks. * For stacked marks, this ``order`` channel encodes `stack order @@ -5802,11 +5786,11 @@ class Encoding(VegaLiteSchema): **Note**: In aggregate plots, ``order`` field should be ``aggregate``d to avoid creating additional aggregation grouping. - radius : dict, :class:`PolarDef`, :class:`PositionValueDef`, :class:`PositionDatumDefBase`, :class:`PositionFieldDefBase` + radius : Map, :class:`PolarDef`, :class:`PositionValueDef`, :class:`PositionDatumDefBase`, :class:`PositionFieldDefBase` The outer radius in pixels of arc marks. - radius2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` + radius2 : Map, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` The inner radius in pixels of arc marks. - shape : dict, :class:`ShapeDef`, :class:`FieldOrDatumDefWithConditionDatumDefstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull` + shape : Map, :class:`ShapeDef`, :class:`FieldOrDatumDefWithConditionDatumDefstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull` Shape of the mark. 1. For ``point`` marks the supported values include: - plotting shapes: @@ -5823,7 +5807,7 @@ class Encoding(VegaLiteSchema): **Default value:** If undefined, the default shape depends on `mark config `__'s ``shape`` property. (``"circle"`` if unset.) - size : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` + size : Map, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` Size of the mark. * For ``"point"``, ``"square"`` and ``"circle"``, - the symbol size, or pixel area @@ -5832,7 +5816,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 : dict, :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull` + stroke : Map, :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`` @@ -5840,77 +5824,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 : dict, :class:`NumericArrayMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumberArray`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray` + strokeDash : Map, :class:`NumericArrayMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumberArray`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray` Stroke dash of the marks. **Default value:** ``[1,0]`` (No dash). - strokeOpacity : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` + strokeOpacity : Map, :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 : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` + strokeWidth : Map, :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 : dict, :class:`TextDef`, :class:`ValueDefWithConditionStringFieldDefText`, :class:`FieldOrDatumDefWithConditionStringDatumDefText`, :class:`FieldOrDatumDefWithConditionStringFieldDefText` + text : Map, :class:`TextDef`, :class:`ValueDefWithConditionStringFieldDefText`, :class:`FieldOrDatumDefWithConditionStringDatumDefText`, :class:`FieldOrDatumDefWithConditionStringFieldDefText` Text of the ``text`` mark. - theta : dict, :class:`PolarDef`, :class:`PositionValueDef`, :class:`PositionDatumDefBase`, :class:`PositionFieldDefBase` + theta : Map, :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 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` + theta2 : Map, :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 : dict, None, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition`, Sequence[dict, :class:`StringFieldDef`] + tooltip : Map, None, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition`, Sequence[Map, :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, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition` + url : Map, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition` The URL of an image mark. - x : dict, :class:`PositionDef`, :class:`PositionDatumDef`, :class:`PositionFieldDef`, :class:`PositionValueDef` + x : Map, :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 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` + x2 : Map, :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 : dict, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` + xError : Map, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` Error value of x coordinates for error specified ``"errorbar"`` and ``"errorband"``. - xError2 : dict, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` + xError2 : Map, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` Secondary error value of x coordinates for error specified ``"errorbar"`` and ``"errorband"``. - xOffset : dict, :class:`OffsetDef`, :class:`ScaleDatumDef`, :class:`ScaleFieldDef`, :class:`ValueDefnumber` + xOffset : Map, :class:`OffsetDef`, :class:`ScaleDatumDef`, :class:`ScaleFieldDef`, :class:`ValueDefnumber` Offset of x-position of the marks - y : dict, :class:`PositionDef`, :class:`PositionDatumDef`, :class:`PositionFieldDef`, :class:`PositionValueDef` + y : Map, :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 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` + y2 : Map, :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 : dict, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` + yError : Map, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` Error value of y coordinates for error specified ``"errorbar"`` and ``"errorband"``. - yError2 : dict, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` + yError2 : Map, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` Secondary error value of y coordinates for error specified ``"errorbar"`` and ``"errorband"``. - yOffset : dict, :class:`OffsetDef`, :class:`ScaleDatumDef`, :class:`ScaleFieldDef`, :class:`ValueDefnumber` + yOffset : Map, :class:`OffsetDef`, :class:`ScaleDatumDef`, :class:`ScaleFieldDef`, :class:`ValueDefnumber` Offset of y-position of the marks """ @@ -5918,45 +5902,45 @@ class Encoding(VegaLiteSchema): def __init__( self, - angle: Optional[dict | SchemaBase] = Undefined, - color: Optional[dict | SchemaBase] = Undefined, - description: Optional[dict | SchemaBase] = Undefined, - detail: Optional[dict | SchemaBase | Sequence[dict | SchemaBase]] = Undefined, - fill: Optional[dict | SchemaBase] = Undefined, - fillOpacity: Optional[dict | SchemaBase] = Undefined, - href: Optional[dict | SchemaBase] = Undefined, - key: Optional[dict | SchemaBase] = Undefined, - latitude: Optional[dict | SchemaBase] = Undefined, - latitude2: Optional[dict | SchemaBase] = Undefined, - longitude: Optional[dict | SchemaBase] = Undefined, - longitude2: Optional[dict | SchemaBase] = Undefined, - opacity: Optional[dict | SchemaBase] = Undefined, - order: Optional[dict | SchemaBase | Sequence[dict | SchemaBase]] = Undefined, - radius: Optional[dict | SchemaBase] = Undefined, - radius2: Optional[dict | SchemaBase] = Undefined, - shape: Optional[dict | SchemaBase] = Undefined, - size: Optional[dict | SchemaBase] = Undefined, - stroke: Optional[dict | SchemaBase] = Undefined, - strokeDash: Optional[dict | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | SchemaBase] = Undefined, - strokeWidth: Optional[dict | SchemaBase] = Undefined, - text: Optional[dict | SchemaBase] = Undefined, - theta: Optional[dict | SchemaBase] = Undefined, - theta2: Optional[dict | SchemaBase] = Undefined, + angle: Optional[Map | SchemaBase] = Undefined, + color: Optional[Map | SchemaBase] = Undefined, + description: Optional[Map | SchemaBase] = Undefined, + detail: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + fill: Optional[Map | SchemaBase] = Undefined, + fillOpacity: Optional[Map | SchemaBase] = Undefined, + href: Optional[Map | SchemaBase] = Undefined, + key: Optional[Map | SchemaBase] = Undefined, + latitude: Optional[Map | SchemaBase] = Undefined, + latitude2: Optional[Map | SchemaBase] = Undefined, + longitude: Optional[Map | SchemaBase] = Undefined, + longitude2: Optional[Map | SchemaBase] = Undefined, + opacity: Optional[Map | SchemaBase] = Undefined, + order: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + radius: Optional[Map | SchemaBase] = Undefined, + radius2: Optional[Map | SchemaBase] = Undefined, + shape: Optional[Map | SchemaBase] = Undefined, + size: Optional[Map | SchemaBase] = Undefined, + stroke: Optional[Map | SchemaBase] = Undefined, + strokeDash: Optional[Map | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | SchemaBase] = Undefined, + strokeWidth: Optional[Map | SchemaBase] = Undefined, + text: Optional[Map | SchemaBase] = Undefined, + theta: Optional[Map | SchemaBase] = Undefined, + theta2: Optional[Map | SchemaBase] = Undefined, tooltip: Optional[ - dict | None | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - url: Optional[dict | SchemaBase] = Undefined, - x: Optional[dict | SchemaBase] = Undefined, - x2: Optional[dict | SchemaBase] = Undefined, - xError: Optional[dict | SchemaBase] = Undefined, - xError2: Optional[dict | SchemaBase] = Undefined, - xOffset: Optional[dict | SchemaBase] = Undefined, - y: Optional[dict | SchemaBase] = Undefined, - y2: Optional[dict | SchemaBase] = Undefined, - yError: Optional[dict | SchemaBase] = Undefined, - yError2: Optional[dict | SchemaBase] = Undefined, - yOffset: Optional[dict | SchemaBase] = Undefined, + Map | None | SchemaBase | Sequence[Map | SchemaBase] + ] = Undefined, + url: Optional[Map | SchemaBase] = Undefined, + x: Optional[Map | SchemaBase] = Undefined, + x2: Optional[Map | SchemaBase] = Undefined, + xError: Optional[Map | SchemaBase] = Undefined, + xError2: Optional[Map | SchemaBase] = Undefined, + xOffset: Optional[Map | SchemaBase] = Undefined, + y: Optional[Map | SchemaBase] = Undefined, + y2: Optional[Map | SchemaBase] = Undefined, + yError: Optional[Map | SchemaBase] = Undefined, + yError2: Optional[Map | SchemaBase] = Undefined, + yOffset: Optional[Map | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -6016,9 +6000,9 @@ class ErrorBandConfig(VegaLiteSchema): Parameters ---------- - band : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + band : Map, bool, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` - borders : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + borders : Map, bool, :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: @@ -6061,8 +6045,8 @@ class ErrorBandConfig(VegaLiteSchema): def __init__( self, - band: Optional[bool | dict | SchemaBase] = Undefined, - borders: Optional[bool | dict | SchemaBase] = Undefined, + band: Optional[Map | bool | SchemaBase] = Undefined, + borders: Optional[Map | bool | SchemaBase] = Undefined, extent: Optional[SchemaBase | ErrorBarExtent_T] = Undefined, interpolate: Optional[SchemaBase | Interpolate_T] = Undefined, tension: Optional[float] = Undefined, @@ -6089,13 +6073,13 @@ class ErrorBandDef(CompositeMarkDef): ``"square"``, ``"tick"``, ``"line"``, ``"area"``, ``"point"``, ``"geoshape"``, ``"rule"``, and ``"text"``) or a composite mark type (``"boxplot"``, ``"errorband"``, ``"errorbar"``). - band : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + band : Map, bool, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` - borders : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + borders : Map, bool, :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 : 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'] + color : Map, str, :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:`` ■ :raw-html:`` @@ -6154,10 +6138,10 @@ class ErrorBandDef(CompositeMarkDef): def __init__( self, type: Optional[SchemaBase | ErrorBand_T] = Undefined, - band: Optional[bool | dict | SchemaBase] = Undefined, - borders: Optional[bool | dict | SchemaBase] = Undefined, + band: Optional[Map | bool | SchemaBase] = Undefined, + borders: Optional[Map | bool | SchemaBase] = Undefined, clip: Optional[bool] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, extent: Optional[SchemaBase | ErrorBarExtent_T] = Undefined, interpolate: Optional[SchemaBase | Interpolate_T] = Undefined, opacity: Optional[float] = Undefined, @@ -6206,13 +6190,13 @@ class ErrorBarConfig(VegaLiteSchema): * ``"iqr"``: Extend the rule to the q1 and q3. **Default value:** ``"stderr"``. - rule : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + rule : Map, bool, :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 : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + ticks : Map, bool, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` """ @@ -6221,10 +6205,10 @@ class ErrorBarConfig(VegaLiteSchema): def __init__( self, extent: Optional[SchemaBase | ErrorBarExtent_T] = Undefined, - rule: Optional[bool | dict | SchemaBase] = Undefined, + rule: Optional[Map | bool | SchemaBase] = Undefined, size: Optional[float] = Undefined, thickness: Optional[float] = Undefined, - ticks: Optional[bool | dict | SchemaBase] = Undefined, + ticks: Optional[Map | bool | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -6250,7 +6234,7 @@ class ErrorBarDef(CompositeMarkDef): ``"errorband"``, ``"errorbar"``). clip : bool Whether a composite mark be clipped to the enclosing group's width and height. - 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'] + color : Map, str, :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:`` ■ :raw-html:`` @@ -6278,13 +6262,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 : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + rule : Map, bool, :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 : bool, dict, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` + ticks : Map, bool, :class:`BarConfig`, :class:`AreaConfig`, :class:`LineConfig`, :class:`MarkConfig`, :class:`RectConfig`, :class:`TickConfig`, :class:`AnyMarkConfig` """ @@ -6294,14 +6278,14 @@ def __init__( self, type: Optional[SchemaBase | ErrorBar_T] = Undefined, clip: Optional[bool] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, extent: Optional[SchemaBase | ErrorBarExtent_T] = Undefined, opacity: Optional[float] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - rule: Optional[bool | dict | SchemaBase] = Undefined, + rule: Optional[Map | bool | SchemaBase] = Undefined, size: Optional[float] = Undefined, thickness: Optional[float] = Undefined, - ticks: Optional[bool | dict | SchemaBase] = Undefined, + ticks: Optional[Map | bool | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -6359,9 +6343,9 @@ class FacetEncodingFieldDef(VegaLiteSchema): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -6369,7 +6353,7 @@ class FacetEncodingFieldDef(VegaLiteSchema): **See also:** `aggregate `__ documentation. - align : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] + align : Map, :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"``. @@ -6389,7 +6373,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -6421,7 +6405,7 @@ class FacetEncodingFieldDef(VegaLiteSchema): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : bool, dict, :class:`RowColboolean` + center : Map, bool, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -6446,7 +6430,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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -6461,9 +6445,9 @@ class FacetEncodingFieldDef(VegaLiteSchema): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - header : dict, None, :class:`Header` + header : Map, None, :class:`Header` An object defining properties of a facet's header. - sort : dict, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'] + sort : Map, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[Map, :class:`DateTime`], Literal['ascending', 'descending'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -6489,7 +6473,7 @@ class FacetEncodingFieldDef(VegaLiteSchema): **Default value:** ``"ascending"`` **Note:** ``null`` is not supported for ``row`` and ``column``. - spacing : dict, float, :class:`RowColnumber` + spacing : Map, 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. @@ -6497,7 +6481,7 @@ class FacetEncodingFieldDef(VegaLiteSchema): **Default value**: Depends on ``"spacing"`` property of `the view composition configuration `__ (``20`` by default) - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -6598,29 +6582,29 @@ class FacetEncodingFieldDef(VegaLiteSchema): def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, - align: Optional[dict | SchemaBase | LayoutAlign_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, + align: Optional[Map | SchemaBase | LayoutAlign_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, bounds: Optional[Literal["full", "flush"]] = Undefined, - center: Optional[bool | dict | SchemaBase] = Undefined, + center: Optional[Map | bool | SchemaBase] = Undefined, columns: Optional[float] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - header: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + header: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | SortOrder_T ] = Undefined, - spacing: Optional[dict | float | SchemaBase] = Undefined, + spacing: Optional[Map | float | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -6652,7 +6636,7 @@ class FacetFieldDef(VegaLiteSchema): Parameters ---------- - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -6664,7 +6648,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -6685,7 +6669,7 @@ class FacetFieldDef(VegaLiteSchema): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -6700,9 +6684,9 @@ class FacetFieldDef(VegaLiteSchema): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - header : dict, None, :class:`Header` + header : Map, None, :class:`Header` An object defining properties of a facet's header. - sort : dict, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'] + sort : Map, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[Map, :class:`DateTime`], Literal['ascending', 'descending'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -6728,7 +6712,7 @@ class FacetFieldDef(VegaLiteSchema): **Default value:** ``"ascending"`` **Note:** ``null`` is not supported for ``row`` and ``column``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -6829,23 +6813,23 @@ class FacetFieldDef(VegaLiteSchema): def __init__( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - header: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + header: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | SortOrder_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -6871,9 +6855,9 @@ class FacetMapping(VegaLiteSchema): Parameters ---------- - column : dict, :class:`FacetFieldDef` + column : Map, :class:`FacetFieldDef` A field definition for the horizontal facet of trellis plots. - row : dict, :class:`FacetFieldDef` + row : Map, :class:`FacetFieldDef` A field definition for the vertical facet of trellis plots. """ @@ -6881,8 +6865,8 @@ class FacetMapping(VegaLiteSchema): def __init__( self, - column: Optional[dict | SchemaBase] = Undefined, - row: Optional[dict | SchemaBase] = Undefined, + column: Optional[Map | SchemaBase] = Undefined, + row: Optional[Map | SchemaBase] = Undefined, **kwds, ): super().__init__(column=column, row=row, **kwds) @@ -6894,9 +6878,9 @@ class FacetedEncoding(VegaLiteSchema): Parameters ---------- - angle : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` + angle : Map, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` Rotation angle of point and text marks. - color : dict, :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull` + color : Map, :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"`` / @@ -6912,55 +6896,55 @@ class FacetedEncoding(VegaLiteSchema): encoding if conflicting encodings are specified. 2) See the scale documentation for more information about customizing `color scheme `__. - column : dict, :class:`RowColumnEncodingFieldDef` + column : Map, :class:`RowColumnEncodingFieldDef` A field definition for the horizontal facet of trellis plots. - description : dict, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition` + description : Map, :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 : dict, :class:`FieldDefWithoutScale`, Sequence[dict, :class:`FieldDefWithoutScale`] + detail : Map, :class:`FieldDefWithoutScale`, Sequence[Map, :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 : dict, :class:`FacetEncodingFieldDef` + facet : Map, :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 : dict, :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull` + fill : Map, :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 : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` + fillOpacity : Map, :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 : dict, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition` + href : Map, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition` A URL to load upon mouse click. - key : dict, :class:`FieldDefWithoutScale` + key : Map, :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 : dict, :class:`DatumDef`, :class:`LatLongDef`, :class:`LatLongFieldDef` + latitude : Map, :class:`DatumDef`, :class:`LatLongDef`, :class:`LatLongFieldDef` Latitude position of geographically projected marks. - latitude2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` + latitude2 : Map, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` Latitude-2 position for geographically projected ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. - longitude : dict, :class:`DatumDef`, :class:`LatLongDef`, :class:`LatLongFieldDef` + longitude : Map, :class:`DatumDef`, :class:`LatLongDef`, :class:`LatLongFieldDef` Longitude position of geographically projected marks. - longitude2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` + longitude2 : Map, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` Longitude-2 position for geographically projected ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. - opacity : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` + opacity : Map, :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 : dict, :class:`OrderOnlyDef`, :class:`OrderFieldDef`, :class:`OrderValueDef`, Sequence[dict, :class:`OrderFieldDef`] + order : Map, :class:`OrderOnlyDef`, :class:`OrderFieldDef`, :class:`OrderValueDef`, Sequence[Map, :class:`OrderFieldDef`] Order of the marks. * For stacked marks, this ``order`` channel encodes `stack order @@ -6974,13 +6958,13 @@ class FacetedEncoding(VegaLiteSchema): **Note**: In aggregate plots, ``order`` field should be ``aggregate``d to avoid creating additional aggregation grouping. - radius : dict, :class:`PolarDef`, :class:`PositionValueDef`, :class:`PositionDatumDefBase`, :class:`PositionFieldDefBase` + radius : Map, :class:`PolarDef`, :class:`PositionValueDef`, :class:`PositionDatumDefBase`, :class:`PositionFieldDefBase` The outer radius in pixels of arc marks. - radius2 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` + radius2 : Map, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` The inner radius in pixels of arc marks. - row : dict, :class:`RowColumnEncodingFieldDef` + row : Map, :class:`RowColumnEncodingFieldDef` A field definition for the vertical facet of trellis plots. - shape : dict, :class:`ShapeDef`, :class:`FieldOrDatumDefWithConditionDatumDefstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull` + shape : Map, :class:`ShapeDef`, :class:`FieldOrDatumDefWithConditionDatumDefstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull` Shape of the mark. 1. For ``point`` marks the supported values include: - plotting shapes: @@ -6997,7 +6981,7 @@ class FacetedEncoding(VegaLiteSchema): **Default value:** If undefined, the default shape depends on `mark config `__'s ``shape`` property. (``"circle"`` if unset.) - size : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` + size : Map, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` Size of the mark. * For ``"point"``, ``"square"`` and ``"circle"``, - the symbol size, or pixel area @@ -7006,7 +6990,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 : dict, :class:`ColorDef`, :class:`FieldOrDatumDefWithConditionDatumDefGradientstringnull`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull` + stroke : Map, :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`` @@ -7014,77 +6998,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 : dict, :class:`NumericArrayMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumberArray`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray` + strokeDash : Map, :class:`NumericArrayMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumberArray`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray` Stroke dash of the marks. **Default value:** ``[1,0]`` (No dash). - strokeOpacity : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` + strokeOpacity : Map, :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 : dict, :class:`NumericMarkPropDef`, :class:`FieldOrDatumDefWithConditionDatumDefnumber`, :class:`FieldOrDatumDefWithConditionMarkPropFieldDefnumber`, :class:`ValueDefWithConditionMarkPropFieldOrDatumDefnumber` + strokeWidth : Map, :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 : dict, :class:`TextDef`, :class:`ValueDefWithConditionStringFieldDefText`, :class:`FieldOrDatumDefWithConditionStringDatumDefText`, :class:`FieldOrDatumDefWithConditionStringFieldDefText` + text : Map, :class:`TextDef`, :class:`ValueDefWithConditionStringFieldDefText`, :class:`FieldOrDatumDefWithConditionStringDatumDefText`, :class:`FieldOrDatumDefWithConditionStringFieldDefText` Text of the ``text`` mark. - theta : dict, :class:`PolarDef`, :class:`PositionValueDef`, :class:`PositionDatumDefBase`, :class:`PositionFieldDefBase` + theta : Map, :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 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` + theta2 : Map, :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 : dict, None, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition`, Sequence[dict, :class:`StringFieldDef`] + tooltip : Map, None, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition`, Sequence[Map, :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, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition` + url : Map, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition` The URL of an image mark. - x : dict, :class:`PositionDef`, :class:`PositionDatumDef`, :class:`PositionFieldDef`, :class:`PositionValueDef` + x : Map, :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 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` + x2 : Map, :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 : dict, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` + xError : Map, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` Error value of x coordinates for error specified ``"errorbar"`` and ``"errorband"``. - xError2 : dict, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` + xError2 : Map, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` Secondary error value of x coordinates for error specified ``"errorbar"`` and ``"errorband"``. - xOffset : dict, :class:`OffsetDef`, :class:`ScaleDatumDef`, :class:`ScaleFieldDef`, :class:`ValueDefnumber` + xOffset : Map, :class:`OffsetDef`, :class:`ScaleDatumDef`, :class:`ScaleFieldDef`, :class:`ValueDefnumber` Offset of x-position of the marks - y : dict, :class:`PositionDef`, :class:`PositionDatumDef`, :class:`PositionFieldDef`, :class:`PositionValueDef` + y : Map, :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 : dict, :class:`DatumDef`, :class:`Position2Def`, :class:`PositionValueDef`, :class:`SecondaryFieldDef` + y2 : Map, :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 : dict, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` + yError : Map, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` Error value of y coordinates for error specified ``"errorbar"`` and ``"errorband"``. - yError2 : dict, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` + yError2 : Map, :class:`ValueDefnumber`, :class:`SecondaryFieldDef` Secondary error value of y coordinates for error specified ``"errorbar"`` and ``"errorband"``. - yOffset : dict, :class:`OffsetDef`, :class:`ScaleDatumDef`, :class:`ScaleFieldDef`, :class:`ValueDefnumber` + yOffset : Map, :class:`OffsetDef`, :class:`ScaleDatumDef`, :class:`ScaleFieldDef`, :class:`ValueDefnumber` Offset of y-position of the marks """ @@ -7092,48 +7076,48 @@ class FacetedEncoding(VegaLiteSchema): def __init__( self, - angle: Optional[dict | SchemaBase] = Undefined, - color: Optional[dict | SchemaBase] = Undefined, - column: Optional[dict | SchemaBase] = Undefined, - description: Optional[dict | SchemaBase] = Undefined, - detail: Optional[dict | SchemaBase | Sequence[dict | SchemaBase]] = Undefined, - facet: Optional[dict | SchemaBase] = Undefined, - fill: Optional[dict | SchemaBase] = Undefined, - fillOpacity: Optional[dict | SchemaBase] = Undefined, - href: Optional[dict | SchemaBase] = Undefined, - key: Optional[dict | SchemaBase] = Undefined, - latitude: Optional[dict | SchemaBase] = Undefined, - latitude2: Optional[dict | SchemaBase] = Undefined, - longitude: Optional[dict | SchemaBase] = Undefined, - longitude2: Optional[dict | SchemaBase] = Undefined, - opacity: Optional[dict | SchemaBase] = Undefined, - order: Optional[dict | SchemaBase | Sequence[dict | SchemaBase]] = Undefined, - radius: Optional[dict | SchemaBase] = Undefined, - radius2: Optional[dict | SchemaBase] = Undefined, - row: Optional[dict | SchemaBase] = Undefined, - shape: Optional[dict | SchemaBase] = Undefined, - size: Optional[dict | SchemaBase] = Undefined, - stroke: Optional[dict | SchemaBase] = Undefined, - strokeDash: Optional[dict | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | SchemaBase] = Undefined, - strokeWidth: Optional[dict | SchemaBase] = Undefined, - text: Optional[dict | SchemaBase] = Undefined, - theta: Optional[dict | SchemaBase] = Undefined, - theta2: Optional[dict | SchemaBase] = Undefined, + angle: Optional[Map | SchemaBase] = Undefined, + color: Optional[Map | SchemaBase] = Undefined, + column: Optional[Map | SchemaBase] = Undefined, + description: Optional[Map | SchemaBase] = Undefined, + detail: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + facet: Optional[Map | SchemaBase] = Undefined, + fill: Optional[Map | SchemaBase] = Undefined, + fillOpacity: Optional[Map | SchemaBase] = Undefined, + href: Optional[Map | SchemaBase] = Undefined, + key: Optional[Map | SchemaBase] = Undefined, + latitude: Optional[Map | SchemaBase] = Undefined, + latitude2: Optional[Map | SchemaBase] = Undefined, + longitude: Optional[Map | SchemaBase] = Undefined, + longitude2: Optional[Map | SchemaBase] = Undefined, + opacity: Optional[Map | SchemaBase] = Undefined, + order: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + radius: Optional[Map | SchemaBase] = Undefined, + radius2: Optional[Map | SchemaBase] = Undefined, + row: Optional[Map | SchemaBase] = Undefined, + shape: Optional[Map | SchemaBase] = Undefined, + size: Optional[Map | SchemaBase] = Undefined, + stroke: Optional[Map | SchemaBase] = Undefined, + strokeDash: Optional[Map | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | SchemaBase] = Undefined, + strokeWidth: Optional[Map | SchemaBase] = Undefined, + text: Optional[Map | SchemaBase] = Undefined, + theta: Optional[Map | SchemaBase] = Undefined, + theta2: Optional[Map | SchemaBase] = Undefined, tooltip: Optional[ - dict | None | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - url: Optional[dict | SchemaBase] = Undefined, - x: Optional[dict | SchemaBase] = Undefined, - x2: Optional[dict | SchemaBase] = Undefined, - xError: Optional[dict | SchemaBase] = Undefined, - xError2: Optional[dict | SchemaBase] = Undefined, - xOffset: Optional[dict | SchemaBase] = Undefined, - y: Optional[dict | SchemaBase] = Undefined, - y2: Optional[dict | SchemaBase] = Undefined, - yError: Optional[dict | SchemaBase] = Undefined, - yError2: Optional[dict | SchemaBase] = Undefined, - yOffset: Optional[dict | SchemaBase] = Undefined, + Map | None | SchemaBase | Sequence[Map | SchemaBase] + ] = Undefined, + url: Optional[Map | SchemaBase] = Undefined, + x: Optional[Map | SchemaBase] = Undefined, + x2: Optional[Map | SchemaBase] = Undefined, + xError: Optional[Map | SchemaBase] = Undefined, + xError2: Optional[Map | SchemaBase] = Undefined, + xOffset: Optional[Map | SchemaBase] = Undefined, + y: Optional[Map | SchemaBase] = Undefined, + y2: Optional[Map | SchemaBase] = Undefined, + yError: Optional[Map | SchemaBase] = Undefined, + yError2: Optional[Map | SchemaBase] = Undefined, + yOffset: Optional[Map | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -7190,9 +7174,9 @@ class Feature(VegaLiteSchema): Parameters ---------- - geometry : dict, :class:`Point`, :class:`Polygon`, :class:`Geometry`, :class:`LineString`, :class:`MultiPoint`, :class:`MultiPolygon`, :class:`MultiLineString`, :class:`GeometryCollection` + geometry : Map, :class:`Point`, :class:`Polygon`, :class:`Geometry`, :class:`LineString`, :class:`MultiPoint`, :class:`MultiPolygon`, :class:`MultiLineString`, :class:`GeometryCollection` The feature's geometry - properties : dict, None, :class:`GeoJsonProperties` + properties : Map, None, :class:`GeoJsonProperties` Properties associated with this feature. type : Literal['Feature'] Specifies the type of GeoJSON object. @@ -7208,8 +7192,8 @@ class Feature(VegaLiteSchema): def __init__( self, - geometry: Optional[dict | SchemaBase] = Undefined, - properties: Optional[dict | None | SchemaBase] = Undefined, + geometry: Optional[Map | SchemaBase] = Undefined, + properties: Optional[Map | None | SchemaBase] = Undefined, type: Optional[Literal["Feature"]] = Undefined, bbox: Optional[SchemaBase | Sequence[float]] = Undefined, id: Optional[str | float] = Undefined, @@ -7233,7 +7217,7 @@ class FeatureCollection(VegaLiteSchema): Parameters ---------- - features : Sequence[dict, :class:`FeatureGeometryGeoJsonProperties`] + features : Sequence[Map, :class:`FeatureGeometryGeoJsonProperties`] type : Literal['FeatureCollection'] Specifies the type of GeoJSON object. @@ -7246,7 +7230,7 @@ class FeatureCollection(VegaLiteSchema): def __init__( self, - features: Optional[Sequence[dict | SchemaBase]] = Undefined, + features: Optional[Sequence[Map | SchemaBase]] = Undefined, type: Optional[Literal["FeatureCollection"]] = Undefined, bbox: Optional[SchemaBase | Sequence[float]] = Undefined, **kwds, @@ -7263,9 +7247,9 @@ class FeatureGeometryGeoJsonProperties(VegaLiteSchema): Parameters ---------- - geometry : dict, :class:`Point`, :class:`Polygon`, :class:`Geometry`, :class:`LineString`, :class:`MultiPoint`, :class:`MultiPolygon`, :class:`MultiLineString`, :class:`GeometryCollection` + geometry : Map, :class:`Point`, :class:`Polygon`, :class:`Geometry`, :class:`LineString`, :class:`MultiPoint`, :class:`MultiPolygon`, :class:`MultiLineString`, :class:`GeometryCollection` The feature's geometry - properties : dict, None, :class:`GeoJsonProperties` + properties : Map, None, :class:`GeoJsonProperties` Properties associated with this feature. type : Literal['Feature'] Specifies the type of GeoJSON object. @@ -7281,8 +7265,8 @@ class FeatureGeometryGeoJsonProperties(VegaLiteSchema): def __init__( self, - geometry: Optional[dict | SchemaBase] = Undefined, - properties: Optional[dict | None | SchemaBase] = Undefined, + geometry: Optional[Map | SchemaBase] = Undefined, + properties: Optional[Map | None | SchemaBase] = Undefined, type: Optional[Literal["Feature"]] = Undefined, bbox: Optional[SchemaBase | Sequence[float]] = Undefined, id: Optional[str | float] = Undefined, @@ -7315,9 +7299,9 @@ class FieldDefWithoutScale(VegaLiteSchema): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -7329,7 +7313,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -7350,7 +7334,7 @@ class FieldDefWithoutScale(VegaLiteSchema): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -7365,7 +7349,7 @@ class FieldDefWithoutScale(VegaLiteSchema): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -7466,13 +7450,13 @@ class FieldDefWithoutScale(VegaLiteSchema): def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -7506,7 +7490,7 @@ class FieldOrDatumDefWithConditionStringFieldDefstring(VegaLiteSchema): Parameters ---------- - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -7518,7 +7502,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -7539,14 +7523,14 @@ class FieldOrDatumDefWithConditionStringFieldDefstring(VegaLiteSchema): **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`] + condition : Map, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -7561,7 +7545,7 @@ class FieldOrDatumDefWithConditionStringFieldDefstring(VegaLiteSchema): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -7593,7 +7577,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 : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -7696,17 +7680,15 @@ class FieldOrDatumDefWithConditionStringFieldDefstring(VegaLiteSchema): def __init__( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -7871,30 +7853,30 @@ class GenericUnitSpecEncodingAnyMark(VegaLiteSchema): Parameters ---------- - mark : 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', 'boxplot', 'errorband', 'errorbar'] + mark : Map, :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', 'boxplot', 'errorband', 'errorbar'] 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 : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : dict, :class:`Encoding` + encoding : Map, :class:`Encoding` A key-value mapping between encoding channels and definition of fields. name : str Name of the visualization for later reference. - params : Sequence[dict, :class:`SelectionParameter`] + params : Sequence[Map, :class:`SelectionParameter`] An array of parameters that may either be simple variables, or more complex selections that map user input to data queries. - projection : dict, :class:`Projection` + projection : Map, :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 : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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. """ @@ -7902,15 +7884,15 @@ class GenericUnitSpecEncodingAnyMark(VegaLiteSchema): def __init__( self, - mark: Optional[dict | SchemaBase | Mark_T | CompositeMark_T] = Undefined, - data: Optional[dict | None | SchemaBase] = Undefined, + mark: Optional[Map | SchemaBase | Mark_T | CompositeMark_T] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, description: Optional[str] = Undefined, - encoding: Optional[dict | SchemaBase] = Undefined, + encoding: Optional[Map | SchemaBase] = Undefined, name: Optional[str] = Undefined, - params: Optional[Sequence[dict | SchemaBase]] = Undefined, - projection: Optional[dict | SchemaBase] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, + params: Optional[Sequence[Map | SchemaBase]] = Undefined, + projection: Optional[Map | SchemaBase] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__( @@ -7936,9 +7918,9 @@ class GeoJsonFeature(Fit): Parameters ---------- - geometry : dict, :class:`Point`, :class:`Polygon`, :class:`Geometry`, :class:`LineString`, :class:`MultiPoint`, :class:`MultiPolygon`, :class:`MultiLineString`, :class:`GeometryCollection` + geometry : Map, :class:`Point`, :class:`Polygon`, :class:`Geometry`, :class:`LineString`, :class:`MultiPoint`, :class:`MultiPolygon`, :class:`MultiLineString`, :class:`GeometryCollection` The feature's geometry - properties : dict, None, :class:`GeoJsonProperties` + properties : Map, None, :class:`GeoJsonProperties` Properties associated with this feature. type : Literal['Feature'] Specifies the type of GeoJSON object. @@ -7954,8 +7936,8 @@ class GeoJsonFeature(Fit): def __init__( self, - geometry: Optional[dict | SchemaBase] = Undefined, - properties: Optional[dict | None | SchemaBase] = Undefined, + geometry: Optional[Map | SchemaBase] = Undefined, + properties: Optional[Map | None | SchemaBase] = Undefined, type: Optional[Literal["Feature"]] = Undefined, bbox: Optional[SchemaBase | Sequence[float]] = Undefined, id: Optional[str | float] = Undefined, @@ -7979,7 +7961,7 @@ class GeoJsonFeatureCollection(Fit): Parameters ---------- - features : Sequence[dict, :class:`FeatureGeometryGeoJsonProperties`] + features : Sequence[Map, :class:`FeatureGeometryGeoJsonProperties`] type : Literal['FeatureCollection'] Specifies the type of GeoJSON object. @@ -7992,7 +7974,7 @@ class GeoJsonFeatureCollection(Fit): def __init__( self, - features: Optional[Sequence[dict | SchemaBase]] = Undefined, + features: Optional[Sequence[Map | SchemaBase]] = Undefined, type: Optional[Literal["FeatureCollection"]] = Undefined, bbox: Optional[SchemaBase | Sequence[float]] = Undefined, **kwds, @@ -8030,7 +8012,7 @@ class GeometryCollection(Geometry): Parameters ---------- - geometries : Sequence[dict, :class:`Point`, :class:`Polygon`, :class:`Geometry`, :class:`LineString`, :class:`MultiPoint`, :class:`MultiPolygon`, :class:`MultiLineString`, :class:`GeometryCollection`] + geometries : Sequence[Map, :class:`Point`, :class:`Polygon`, :class:`Geometry`, :class:`LineString`, :class:`MultiPoint`, :class:`MultiPolygon`, :class:`MultiLineString`, :class:`GeometryCollection`] type : Literal['GeometryCollection'] Specifies the type of GeoJSON object. @@ -8043,7 +8025,7 @@ class GeometryCollection(Geometry): def __init__( self, - geometries: Optional[Sequence[dict | SchemaBase]] = Undefined, + geometries: Optional[Sequence[Map | SchemaBase]] = Undefined, type: Optional[Literal["GeometryCollection"]] = Undefined, bbox: Optional[SchemaBase | Sequence[float]] = Undefined, **kwds, @@ -8089,7 +8071,7 @@ class GraticuleGenerator(Generator): Parameters ---------- - graticule : dict, Literal[True], :class:`GraticuleParams` + graticule : Map, Literal[True], :class:`GraticuleParams` Generate graticule GeoJSON data for geographic reference lines. name : str Provide a placeholder name and bind data at runtime. @@ -8099,7 +8081,7 @@ class GraticuleGenerator(Generator): def __init__( self, - graticule: Optional[dict | SchemaBase | Literal[True]] = Undefined, + graticule: Optional[Map | SchemaBase | Literal[True]] = Undefined, name: Optional[str] = Undefined, **kwds, ): @@ -8173,7 +8155,7 @@ class Header(VegaLiteSchema): Parameters ---------- - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -8205,7 +8187,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 : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + labelAlign : Map, :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'] @@ -8216,13 +8198,13 @@ class Header(VegaLiteSchema): The rotation angle of the header labels. **Default value:** ``0`` for column header, ``-90`` for row header. - labelBaseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + labelBaseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', '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 : 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'] + labelColor : Map, str, :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 @@ -8230,26 +8212,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 : str, dict, :class:`ExprRef` + labelFont : Map, str, :class:`ExprRef` The font of the header label. - labelFontSize : dict, float, :class:`ExprRef` + labelFontSize : Map, float, :class:`ExprRef` The font size of the header label, in pixels. - labelFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + labelFontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` The font style of the header label. - labelFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + labelFontWeight : Map, :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 : dict, float, :class:`ExprRef` + labelLimit : Map, 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 : dict, float, :class:`ExprRef` + labelLineHeight : Map, 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 : dict, float, :class:`ExprRef` + labelPadding : Map, float, :class:`ExprRef` The padding, in pixel, between facet header's label and the plot. **Default value:** ``10`` @@ -8279,7 +8261,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 : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + titleAlign : Map, :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 @@ -8289,7 +8271,7 @@ class Header(VegaLiteSchema): The rotation angle of the header title. **Default value:** ``0``. - titleBaseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + titleBaseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', '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 @@ -8297,30 +8279,30 @@ class Header(VegaLiteSchema): ``titleFontSize`` alone. **Default value:** ``"middle"`` - 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'] + titleColor : Map, str, :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 : str, dict, :class:`ExprRef` + titleFont : Map, str, :class:`ExprRef` Font of the header title. (e.g., ``"Helvetica Neue"``). - titleFontSize : dict, float, :class:`ExprRef` + titleFontSize : Map, float, :class:`ExprRef` Font size of the header title. - titleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + titleFontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` The font style of the header title. - titleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + titleFontWeight : Map, :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 : dict, float, :class:`ExprRef` + titleLimit : Map, 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 : dict, float, :class:`ExprRef` + titleLineHeight : Map, 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 : dict, float, :class:`ExprRef` + titlePadding : Map, float, :class:`ExprRef` The padding, in pixel, between facet header's title and the label. **Default value:** ``10`` @@ -8330,50 +8312,50 @@ class Header(VegaLiteSchema): def __init__( self, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelAnchor: Optional[SchemaBase | TitleAnchor_T] = Undefined, labelAngle: Optional[float] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOrient: Optional[SchemaBase | Orient_T] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, labels: Optional[bool] = Undefined, orient: Optional[SchemaBase | Orient_T] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, titleAnchor: Optional[SchemaBase | TitleAnchor_T] = Undefined, titleAngle: Optional[float] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, titleOrient: Optional[SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -8419,7 +8401,7 @@ class HeaderConfig(VegaLiteSchema): Parameters ---------- - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -8451,7 +8433,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 : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + labelAlign : Map, :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'] @@ -8462,13 +8444,13 @@ class HeaderConfig(VegaLiteSchema): The rotation angle of the header labels. **Default value:** ``0`` for column header, ``-90`` for row header. - labelBaseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + labelBaseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', '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 : 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'] + labelColor : Map, str, :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 @@ -8476,26 +8458,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 : str, dict, :class:`ExprRef` + labelFont : Map, str, :class:`ExprRef` The font of the header label. - labelFontSize : dict, float, :class:`ExprRef` + labelFontSize : Map, float, :class:`ExprRef` The font size of the header label, in pixels. - labelFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + labelFontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` The font style of the header label. - labelFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + labelFontWeight : Map, :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 : dict, float, :class:`ExprRef` + labelLimit : Map, 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 : dict, float, :class:`ExprRef` + labelLineHeight : Map, 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 : dict, float, :class:`ExprRef` + labelPadding : Map, float, :class:`ExprRef` The padding, in pixel, between facet header's label and the plot. **Default value:** ``10`` @@ -8507,7 +8489,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 : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + titleAlign : Map, :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 @@ -8517,7 +8499,7 @@ class HeaderConfig(VegaLiteSchema): The rotation angle of the header title. **Default value:** ``0``. - titleBaseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + titleBaseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', '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 @@ -8525,30 +8507,30 @@ class HeaderConfig(VegaLiteSchema): ``titleFontSize`` alone. **Default value:** ``"middle"`` - 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'] + titleColor : Map, str, :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 : str, dict, :class:`ExprRef` + titleFont : Map, str, :class:`ExprRef` Font of the header title. (e.g., ``"Helvetica Neue"``). - titleFontSize : dict, float, :class:`ExprRef` + titleFontSize : Map, float, :class:`ExprRef` Font size of the header title. - titleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + titleFontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` The font style of the header title. - titleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + titleFontWeight : Map, :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 : dict, float, :class:`ExprRef` + titleLimit : Map, 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 : dict, float, :class:`ExprRef` + titleLineHeight : Map, 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 : dict, float, :class:`ExprRef` + titlePadding : Map, float, :class:`ExprRef` The padding, in pixel, between facet header's title and the label. **Default value:** ``10`` @@ -8558,50 +8540,50 @@ class HeaderConfig(VegaLiteSchema): def __init__( self, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelAnchor: Optional[SchemaBase | TitleAnchor_T] = Undefined, labelAngle: Optional[float] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOrient: Optional[SchemaBase | Orient_T] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, labels: Optional[bool] = Undefined, orient: Optional[SchemaBase | Orient_T] = Undefined, title: Optional[None] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, titleAnchor: Optional[SchemaBase | TitleAnchor_T] = Undefined, titleAngle: Optional[float] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, titleOrient: Optional[SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -8675,7 +8657,7 @@ class ImputeParams(VegaLiteSchema): **Default value:**: ``[null, null]`` indicating that the window includes all objects. - keyvals : dict, Sequence[Any], :class:`ImputeSequence` + keyvals : Map, 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 `__. @@ -8700,7 +8682,7 @@ class ImputeParams(VegaLiteSchema): def __init__( self, frame: Optional[Sequence[None | float]] = Undefined, - keyvals: Optional[dict | SchemaBase | Sequence[Any]] = Undefined, + keyvals: Optional[Map | SchemaBase | Sequence[Any]] = Undefined, method: Optional[SchemaBase | ImputeMethod_T] = Undefined, value: Optional[Any] = Undefined, **kwds, @@ -8743,11 +8725,11 @@ class InlineData(DataSource): Parameters ---------- - values : str, dict, Sequence[str], Sequence[bool], Sequence[dict], Sequence[float], :class:`InlineDataset` + values : Map, str, Sequence[Map], Sequence[str], Sequence[bool], 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 : dict, :class:`DataFormat`, :class:`CsvDataFormat`, :class:`DsvDataFormat`, :class:`JsonDataFormat`, :class:`TopoDataFormat` + format : Map, :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. @@ -8758,15 +8740,15 @@ class InlineData(DataSource): def __init__( self, values: Optional[ - str - | dict + Map + | str | SchemaBase + | Sequence[Map] | Sequence[str] | Sequence[bool] - | Sequence[dict] | Sequence[float] ] = Undefined, - format: Optional[dict | SchemaBase] = Undefined, + format: Optional[Map | SchemaBase] = Undefined, name: Optional[str] = Undefined, **kwds, ): @@ -8804,7 +8786,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 : str, bool, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` + clear : Map, str, bool, :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. @@ -8828,13 +8810,13 @@ class IntervalSelectionConfig(VegaLiteSchema): **See also:** The `projection with encodings and fields section `__ in the documentation. - mark : dict, :class:`BrushConfig` + mark : Map, :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 : str, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` + on : Map, str, :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 @@ -8895,11 +8877,11 @@ class IntervalSelectionConfig(VegaLiteSchema): def __init__( self, type: Optional[Literal["interval"]] = Undefined, - clear: Optional[str | bool | dict | SchemaBase] = Undefined, + clear: Optional[Map | str | bool | SchemaBase] = Undefined, encodings: Optional[Sequence[SchemaBase | SingleDefUnitChannel_T]] = Undefined, fields: Optional[Sequence[str | SchemaBase]] = Undefined, - mark: Optional[dict | SchemaBase] = Undefined, - on: Optional[str | dict | SchemaBase] = Undefined, + mark: Optional[Map | SchemaBase] = Undefined, + on: Optional[Map | str | SchemaBase] = Undefined, resolve: Optional[SchemaBase | SelectionResolution_T] = Undefined, translate: Optional[str | bool] = Undefined, zoom: Optional[str | bool] = Undefined, @@ -8925,7 +8907,7 @@ class IntervalSelectionConfigWithoutType(VegaLiteSchema): Parameters ---------- - clear : str, bool, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` + clear : Map, str, bool, :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. @@ -8949,13 +8931,13 @@ class IntervalSelectionConfigWithoutType(VegaLiteSchema): **See also:** The `projection with encodings and fields section `__ in the documentation. - mark : dict, :class:`BrushConfig` + mark : Map, :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 : str, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` + on : Map, str, :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 @@ -9015,11 +8997,11 @@ class IntervalSelectionConfigWithoutType(VegaLiteSchema): def __init__( self, - clear: Optional[str | bool | dict | SchemaBase] = Undefined, + clear: Optional[Map | str | bool | SchemaBase] = Undefined, encodings: Optional[Sequence[SchemaBase | SingleDefUnitChannel_T]] = Undefined, fields: Optional[Sequence[str | SchemaBase]] = Undefined, - mark: Optional[dict | SchemaBase] = Undefined, - on: Optional[str | dict | SchemaBase] = Undefined, + mark: Optional[Map | SchemaBase] = Undefined, + on: Optional[Map | str | SchemaBase] = Undefined, resolve: Optional[SchemaBase | SelectionResolution_T] = Undefined, translate: Optional[str | bool] = Undefined, zoom: Optional[str | bool] = Undefined, @@ -9072,7 +9054,7 @@ class JsonDataFormat(DataFormat): Parameters ---------- - parse : dict, None, :class:`Parse` + parse : Map, 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 @@ -9104,7 +9086,7 @@ class JsonDataFormat(DataFormat): def __init__( self, - parse: Optional[dict | None | SchemaBase] = Undefined, + parse: Optional[Map | None | SchemaBase] = Undefined, property: Optional[str] = Undefined, type: Optional[Literal["json"]] = Undefined, **kwds, @@ -9136,9 +9118,9 @@ class LatLongFieldDef(LatLongDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -9171,7 +9153,7 @@ class LatLongFieldDef(LatLongDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -9186,7 +9168,7 @@ class LatLongFieldDef(LatLongDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -9287,13 +9269,13 @@ class LatLongFieldDef(LatLongDef): def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, bin: Optional[None] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[Literal["quantitative"]] = Undefined, @@ -9355,25 +9337,25 @@ class Legend(VegaLiteSchema): Parameters ---------- - aria : bool, dict, :class:`ExprRef` + aria : Map, bool, :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 : dict, float, :class:`ExprRef` + clipHeight : Map, float, :class:`ExprRef` The height in pixels to clip symbol legend entries and limit their size. - columnPadding : dict, float, :class:`ExprRef` + columnPadding : Map, float, :class:`ExprRef` The horizontal padding in pixels between symbol legend entries. **Default value:** ``10``. - columns : dict, float, :class:`ExprRef` + columns : Map, 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 : dict, float, :class:`ExprRef` + cornerRadius : Map, float, :class:`ExprRef` Corner radius for the full legend. - description : str, dict, :class:`ExprRef` + description : Map, str, :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 @@ -9389,9 +9371,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 : 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'] + fillColor : Map, str, 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 : str, dict, :class:`Dict` + format : Map, str, :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. @@ -9423,40 +9405,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 : dict, float, :class:`ExprRef` + gradientLength : Map, 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 : dict, float, :class:`ExprRef` + gradientOpacity : Map, float, :class:`ExprRef` Opacity of the color gradient. - 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'] + gradientStrokeColor : Map, str, 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 : dict, float, :class:`ExprRef` + gradientStrokeWidth : Map, float, :class:`ExprRef` The width of the gradient stroke, in pixels. **Default value:** ``0``. - gradientThickness : dict, float, :class:`ExprRef` + gradientThickness : Map, 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 : dict, :class:`ExprRef`, :class:`LayoutAlign`, Literal['all', 'each', 'none'] + gridAlign : Map, :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 : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + labelAlign : Map, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] The alignment of the legend label, can be left, center, or right. - labelBaseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + labelBaseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] The position of the baseline of legend label, can be ``"top"``, ``"middle"``, ``"bottom"``, or ``"alphabetic"``. **Default value:** ``"middle"``. - 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'] + labelColor : Map, str, 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 @@ -9464,27 +9446,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 : str, dict, :class:`ExprRef` + labelFont : Map, str, :class:`ExprRef` The font of the legend label. - labelFontSize : dict, float, :class:`ExprRef` + labelFontSize : Map, float, :class:`ExprRef` The font size of legend label. **Default value:** ``10``. - labelFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + labelFontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` The font style of legend label. - labelFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + labelFontWeight : Map, :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 : dict, float, :class:`ExprRef` + labelLimit : Map, float, :class:`ExprRef` Maximum allowed pixel width of legend tick labels. **Default value:** ``160``. - labelOffset : dict, float, :class:`ExprRef` + labelOffset : Map, float, :class:`ExprRef` The offset of the legend label. **Default value:** ``4``. - labelOpacity : dict, float, :class:`ExprRef` + labelOpacity : Map, float, :class:`ExprRef` Opacity of labels. - labelOverlap : bool, dict, :class:`ExprRef`, :class:`LabelOverlap`, Literal['greedy', 'parity'] + labelOverlap : Map, bool, :class:`ExprRef`, :class:`LabelOverlap`, Literal['greedy', 'parity'] 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 @@ -9492,17 +9474,17 @@ class Legend(VegaLiteSchema): overlaps with the last visible label (this often works better for log-scaled axes). **Default value:** ``true``. - labelPadding : dict, float, :class:`ExprRef` + labelPadding : Map, float, :class:`ExprRef` Padding in pixels between the legend and legend labels. - labelSeparation : dict, float, :class:`ExprRef` + labelSeparation : Map, 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 : dict, float, :class:`ExprRef` + legendX : Map, float, :class:`ExprRef` Custom x-position for legend with orient "none". - legendY : dict, float, :class:`ExprRef` + legendY : Map, float, :class:`ExprRef` Custom y-position for legend with orient "none". - offset : dict, float, :class:`ExprRef` + offset : Map, float, :class:`ExprRef` The offset in pixels by which to displace the legend from the data rectangle and axes. @@ -9513,42 +9495,42 @@ class Legend(VegaLiteSchema): ``"top-right"``, ``"bottom-left"``, ``"bottom-right"``, ``"none"``. **Default value:** ``"right"`` - padding : dict, float, :class:`ExprRef` + padding : Map, float, :class:`ExprRef` The padding between the border and content of the legend group. **Default value:** ``0``. - rowPadding : dict, float, :class:`ExprRef` + rowPadding : Map, float, :class:`ExprRef` The vertical padding in pixels between symbol legend entries. **Default value:** ``2``. - 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'] + strokeColor : Map, str, 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 : dict, Sequence[float], :class:`ExprRef` + symbolDash : Map, Sequence[float], :class:`ExprRef` An array of alternating [stroke, space] lengths for dashed symbol strokes. - symbolDashOffset : dict, float, :class:`ExprRef` + symbolDashOffset : Map, float, :class:`ExprRef` The pixel offset at which to start drawing with the symbol stroke dash array. - 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'] + symbolFillColor : Map, str, 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 : dict, float, :class:`ExprRef` + symbolLimit : Map, float, :class:`ExprRef` The maximum number of allowed entries for a symbol legend. Additional entries will be dropped. - symbolOffset : dict, float, :class:`ExprRef` + symbolOffset : Map, float, :class:`ExprRef` Horizontal pixel offset for legend symbols. **Default value:** ``0``. - symbolOpacity : dict, float, :class:`ExprRef` + symbolOpacity : Map, float, :class:`ExprRef` Opacity of the legend symbols. - symbolSize : dict, float, :class:`ExprRef` + symbolSize : Map, float, :class:`ExprRef` The size of the legend symbol, in pixels. **Default value:** ``100``. - 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'] + symbolStrokeColor : Map, str, 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 : dict, float, :class:`ExprRef` + symbolStrokeWidth : Map, float, :class:`ExprRef` The width of the symbol's stroke. **Default value:** ``1.5``. - symbolType : str, dict, :class:`ExprRef`, :class:`SymbolShape` + symbolType : Map, str, :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 @@ -9559,9 +9541,9 @@ class Legend(VegaLiteSchema): dimensions. **Default value:** ``"circle"``. - tickCount : dict, float, :class:`ExprRef`, :class:`TickCount`, :class:`TimeInterval`, :class:`TimeIntervalStep`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'year'] + tickCount : Map, 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 : dict, float, :class:`ExprRef` + tickMinStep : Map, 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 @@ -9588,13 +9570,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 : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + titleAlign : Map, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] Horizontal text alignment for legend titles. **Default value:** ``"left"``. - titleAnchor : dict, :class:`ExprRef`, :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] + titleAnchor : Map, :class:`ExprRef`, :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] Text anchor position for placing legend titles. - titleBaseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + titleBaseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', '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 @@ -9602,30 +9584,30 @@ class Legend(VegaLiteSchema): alone. **Default value:** ``"top"``. - 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'] + titleColor : Map, str, 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 : str, dict, :class:`ExprRef` + titleFont : Map, str, :class:`ExprRef` The font of the legend title. - titleFontSize : dict, float, :class:`ExprRef` + titleFontSize : Map, float, :class:`ExprRef` The font size of the legend title. - titleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + titleFontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` The font style of the legend title. - titleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + titleFontWeight : Map, :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 : dict, float, :class:`ExprRef` + titleLimit : Map, float, :class:`ExprRef` Maximum allowed pixel width of legend titles. **Default value:** ``180``. - titleLineHeight : dict, float, :class:`ExprRef` + titleLineHeight : Map, float, :class:`ExprRef` Line height in pixels for multi-line title text or title text with ``"line-top"`` or ``"line-bottom"`` baseline. - titleOpacity : dict, float, :class:`ExprRef` + titleOpacity : Map, float, :class:`ExprRef` Opacity of the legend title. - titleOrient : dict, :class:`Orient`, :class:`ExprRef`, Literal['left', 'right', 'top', 'bottom'] + titleOrient : Map, :class:`Orient`, :class:`ExprRef`, Literal['left', 'right', 'top', 'bottom'] Orientation of the legend title. - titlePadding : dict, float, :class:`ExprRef` + titlePadding : Map, float, :class:`ExprRef` The padding, in pixels, between title and legend. **Default value:** ``5``. @@ -9635,7 +9617,7 @@ class Legend(VegaLiteSchema): **Default value:** ``"gradient"`` for non-binned quantitative fields and temporal fields; ``"symbol"`` otherwise. - values : dict, Sequence[str], Sequence[bool], Sequence[float], :class:`ExprRef`, Sequence[dict, :class:`DateTime`] + values : Map, Sequence[str], Sequence[bool], Sequence[float], :class:`ExprRef`, Sequence[Map, :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 @@ -9646,110 +9628,106 @@ class Legend(VegaLiteSchema): def __init__( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - clipHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columnPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columns: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + clipHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columnPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columns: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, direction: Optional[SchemaBase | Orientation_T] = Undefined, fillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, - gradientLength: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gradientOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + gradientLength: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, gradientStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - gradientStrokeWidth: Optional[ - dict | float | Parameter | SchemaBase + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - gradientThickness: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gridAlign: Optional[dict | Parameter | SchemaBase | LayoutAlign_T] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + gradientStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientThickness: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gridAlign: Optional[Map | Parameter | SchemaBase | LayoutAlign_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, labelExpr: Optional[str] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, orient: Optional[SchemaBase | LegendOrient_T] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - rowPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + rowPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, strokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, symbolDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - symbolDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolFillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolStrokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolType: Optional[str | dict | Parameter | SchemaBase] = Undefined, + symbolStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolType: Optional[Map | str | Parameter | SchemaBase] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - tickMinStep: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tickMinStep: Optional[Map | float | Parameter | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOrient: Optional[dict | Parameter | SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOrient: Optional[Map | Parameter | SchemaBase | Orient_T] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, type: Optional[Literal["symbol", "gradient"]] = Undefined, values: Optional[ - dict + Map | Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, zindex: Optional[float] = Undefined, **kwds, @@ -9840,25 +9818,25 @@ class LegendConfig(VegaLiteSchema): Parameters ---------- - aria : bool, dict, :class:`ExprRef` + aria : Map, bool, :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 : dict, float, :class:`ExprRef` + clipHeight : Map, float, :class:`ExprRef` The height in pixels to clip symbol legend entries and limit their size. - columnPadding : dict, float, :class:`ExprRef` + columnPadding : Map, float, :class:`ExprRef` The horizontal padding in pixels between symbol legend entries. **Default value:** ``10``. - columns : dict, float, :class:`ExprRef` + columns : Map, 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 : dict, float, :class:`ExprRef` + cornerRadius : Map, float, :class:`ExprRef` Corner radius for the full legend. - description : str, dict, :class:`ExprRef` + description : Map, str, :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 @@ -9876,9 +9854,9 @@ class LegendConfig(VegaLiteSchema): legends and ``"vertical"`` for symbol legends. disable : bool Disable legend by default - 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'] + fillColor : Map, str, 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 : dict, :class:`ExprRef`, :class:`Orientation`, Literal['horizontal', 'vertical'] + gradientDirection : Map, :class:`ExprRef`, :class:`Orientation`, Literal['horizontal', 'vertical'] The default direction (``"horizontal"`` or ``"vertical"``) for gradient legends. **Default value:** ``"vertical"``. @@ -9892,28 +9870,28 @@ class LegendConfig(VegaLiteSchema): undefined. **Default value:** ``100`` - gradientLabelLimit : dict, float, :class:`ExprRef` + gradientLabelLimit : Map, float, :class:`ExprRef` The maximum allowed length in pixels of color ramp gradient labels. - gradientLabelOffset : dict, float, :class:`ExprRef` + gradientLabelOffset : Map, float, :class:`ExprRef` Vertical offset in pixels for color ramp gradient labels. **Default value:** ``2``. - gradientLength : dict, float, :class:`ExprRef` + gradientLength : Map, 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 : dict, float, :class:`ExprRef` + gradientOpacity : Map, float, :class:`ExprRef` Opacity of the color gradient. - 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'] + gradientStrokeColor : Map, str, 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 : dict, float, :class:`ExprRef` + gradientStrokeWidth : Map, float, :class:`ExprRef` The width of the gradient stroke, in pixels. **Default value:** ``0``. - gradientThickness : dict, float, :class:`ExprRef` + gradientThickness : Map, 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. @@ -9928,42 +9906,42 @@ class LegendConfig(VegaLiteSchema): undefined. **Default value:** ``100`` - gridAlign : dict, :class:`ExprRef`, :class:`LayoutAlign`, Literal['all', 'each', 'none'] + gridAlign : Map, :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 : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + labelAlign : Map, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] The alignment of the legend label, can be left, center, or right. - labelBaseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + labelBaseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] The position of the baseline of legend label, can be ``"top"``, ``"middle"``, ``"bottom"``, or ``"alphabetic"``. **Default value:** ``"middle"``. - 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'] + labelColor : Map, str, 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 : str, dict, :class:`ExprRef` + labelFont : Map, str, :class:`ExprRef` The font of the legend label. - labelFontSize : dict, float, :class:`ExprRef` + labelFontSize : Map, float, :class:`ExprRef` The font size of legend label. **Default value:** ``10``. - labelFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + labelFontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` The font style of legend label. - labelFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + labelFontWeight : Map, :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 : dict, float, :class:`ExprRef` + labelLimit : Map, float, :class:`ExprRef` Maximum allowed pixel width of legend tick labels. **Default value:** ``160``. - labelOffset : dict, float, :class:`ExprRef` + labelOffset : Map, float, :class:`ExprRef` The offset of the legend label. **Default value:** ``4``. - labelOpacity : dict, float, :class:`ExprRef` + labelOpacity : Map, float, :class:`ExprRef` Opacity of labels. - labelOverlap : bool, dict, :class:`ExprRef`, :class:`LabelOverlap`, Literal['greedy', 'parity'] + labelOverlap : Map, bool, :class:`ExprRef`, :class:`LabelOverlap`, Literal['greedy', 'parity'] 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 @@ -9971,19 +9949,19 @@ class LegendConfig(VegaLiteSchema): visible label (this often works better for log-scaled axes). **Default value:** ``"greedy"`` for ``log scales otherwise ``true`. - labelPadding : dict, float, :class:`ExprRef` + labelPadding : Map, float, :class:`ExprRef` Padding in pixels between the legend and legend labels. - labelSeparation : dict, float, :class:`ExprRef` + labelSeparation : Map, 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 : dict, :class:`ExprRef` + layout : Map, :class:`ExprRef` - legendX : dict, float, :class:`ExprRef` + legendX : Map, float, :class:`ExprRef` Custom x-position for legend with orient "none". - legendY : dict, float, :class:`ExprRef` + legendY : Map, float, :class:`ExprRef` Custom y-position for legend with orient "none". - offset : dict, float, :class:`ExprRef` + offset : Map, float, :class:`ExprRef` The offset in pixels by which to displace the legend from the data rectangle and axes. @@ -9994,60 +9972,60 @@ class LegendConfig(VegaLiteSchema): ``"top-right"``, ``"bottom-left"``, ``"bottom-right"``, ``"none"``. **Default value:** ``"right"`` - padding : dict, float, :class:`ExprRef` + padding : Map, float, :class:`ExprRef` The padding between the border and content of the legend group. **Default value:** ``0``. - rowPadding : dict, float, :class:`ExprRef` + rowPadding : Map, float, :class:`ExprRef` The vertical padding in pixels between symbol legend entries. **Default value:** ``2``. - 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'] + strokeColor : Map, str, 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 : dict, Sequence[float], :class:`ExprRef` + strokeDash : Map, Sequence[float], :class:`ExprRef` Border stroke dash pattern for the full legend. - strokeWidth : dict, float, :class:`ExprRef` + strokeWidth : Map, float, :class:`ExprRef` Border stroke width for the full legend. - 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'] + symbolBaseFillColor : Map, str, 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 : 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'] + symbolBaseStrokeColor : Map, str, 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 : dict, Sequence[float], :class:`ExprRef` + symbolDash : Map, Sequence[float], :class:`ExprRef` An array of alternating [stroke, space] lengths for dashed symbol strokes. - symbolDashOffset : dict, float, :class:`ExprRef` + symbolDashOffset : Map, float, :class:`ExprRef` The pixel offset at which to start drawing with the symbol stroke dash array. - symbolDirection : dict, :class:`ExprRef`, :class:`Orientation`, Literal['horizontal', 'vertical'] + symbolDirection : Map, :class:`ExprRef`, :class:`Orientation`, Literal['horizontal', 'vertical'] The default direction (``"horizontal"`` or ``"vertical"``) for symbol legends. **Default value:** ``"vertical"``. - 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'] + symbolFillColor : Map, str, 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 : dict, float, :class:`ExprRef` + symbolLimit : Map, float, :class:`ExprRef` The maximum number of allowed entries for a symbol legend. Additional entries will be dropped. - symbolOffset : dict, float, :class:`ExprRef` + symbolOffset : Map, float, :class:`ExprRef` Horizontal pixel offset for legend symbols. **Default value:** ``0``. - symbolOpacity : dict, float, :class:`ExprRef` + symbolOpacity : Map, float, :class:`ExprRef` Opacity of the legend symbols. - symbolSize : dict, float, :class:`ExprRef` + symbolSize : Map, float, :class:`ExprRef` The size of the legend symbol, in pixels. **Default value:** ``100``. - 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'] + symbolStrokeColor : Map, str, 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 : dict, float, :class:`ExprRef` + symbolStrokeWidth : Map, float, :class:`ExprRef` The width of the symbol's stroke. **Default value:** ``1.5``. - symbolType : str, dict, :class:`ExprRef`, :class:`SymbolShape` + symbolType : Map, str, :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 @@ -10058,17 +10036,17 @@ class LegendConfig(VegaLiteSchema): dimensions. **Default value:** ``"circle"``. - tickCount : dict, float, :class:`ExprRef`, :class:`TickCount`, :class:`TimeInterval`, :class:`TimeIntervalStep`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'year'] + tickCount : Map, 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 : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + titleAlign : Map, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] Horizontal text alignment for legend titles. **Default value:** ``"left"``. - titleAnchor : dict, :class:`ExprRef`, :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] + titleAnchor : Map, :class:`ExprRef`, :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] Text anchor position for placing legend titles. - titleBaseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + titleBaseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', '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 @@ -10076,30 +10054,30 @@ class LegendConfig(VegaLiteSchema): alone. **Default value:** ``"top"``. - 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'] + titleColor : Map, str, 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 : str, dict, :class:`ExprRef` + titleFont : Map, str, :class:`ExprRef` The font of the legend title. - titleFontSize : dict, float, :class:`ExprRef` + titleFontSize : Map, float, :class:`ExprRef` The font size of the legend title. - titleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + titleFontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` The font style of the legend title. - titleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + titleFontWeight : Map, :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 : dict, float, :class:`ExprRef` + titleLimit : Map, float, :class:`ExprRef` Maximum allowed pixel width of legend titles. **Default value:** ``180``. - titleLineHeight : dict, float, :class:`ExprRef` + titleLineHeight : Map, float, :class:`ExprRef` Line height in pixels for multi-line title text or title text with ``"line-top"`` or ``"line-bottom"`` baseline. - titleOpacity : dict, float, :class:`ExprRef` + titleOpacity : Map, float, :class:`ExprRef` Opacity of the legend title. - titleOrient : dict, :class:`Orient`, :class:`ExprRef`, Literal['left', 'right', 'top', 'bottom'] + titleOrient : Map, :class:`Orient`, :class:`ExprRef`, Literal['left', 'right', 'top', 'bottom'] Orientation of the legend title. - titlePadding : dict, float, :class:`ExprRef` + titlePadding : Map, float, :class:`ExprRef` The padding, in pixels, between title and legend. **Default value:** ``5``. @@ -10107,7 +10085,7 @@ class LegendConfig(VegaLiteSchema): The opacity of unselected legend entries. **Default value:** 0.35. - zindex : dict, float, :class:`ExprRef` + zindex : Map, float, :class:`ExprRef` The integer z-index indicating the layering of the legend group relative to other axis, mark, and legend groups. """ @@ -10116,125 +10094,119 @@ class LegendConfig(VegaLiteSchema): def __init__( self, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - clipHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columnPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - columns: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + clipHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columnPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + columns: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, direction: Optional[SchemaBase | Orientation_T] = Undefined, disable: Optional[bool] = Undefined, fillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, gradientDirection: Optional[ - dict | Parameter | SchemaBase | Orientation_T + Map | Parameter | SchemaBase | Orientation_T ] = Undefined, gradientHorizontalMaxLength: Optional[float] = Undefined, gradientHorizontalMinLength: Optional[float] = Undefined, - gradientLabelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gradientLabelOffset: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - gradientLength: Optional[dict | float | Parameter | SchemaBase] = Undefined, - gradientOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + gradientLabelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientLabelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientLength: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, gradientStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - gradientStrokeWidth: Optional[ - dict | float | Parameter | SchemaBase + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - gradientThickness: Optional[dict | float | Parameter | SchemaBase] = Undefined, + gradientStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + gradientThickness: Optional[Map | float | Parameter | SchemaBase] = Undefined, gradientVerticalMaxLength: Optional[float] = Undefined, gradientVerticalMinLength: Optional[float] = Undefined, - gridAlign: Optional[dict | Parameter | SchemaBase | LayoutAlign_T] = Undefined, - labelAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, + gridAlign: Optional[Map | Parameter | SchemaBase | LayoutAlign_T] = Undefined, + labelAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, labelBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, labelColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - labelFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - labelFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + labelFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + labelFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, labelFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - labelLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + labelLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, labelOverlap: Optional[ - bool | dict | Parameter | SchemaBase | Literal["greedy", "parity"] - ] = Undefined, - labelPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - labelSeparation: Optional[dict | float | Parameter | SchemaBase] = Undefined, - layout: Optional[dict | Parameter | SchemaBase] = Undefined, - legendX: Optional[dict | float | Parameter | SchemaBase] = Undefined, - legendY: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | bool | Parameter | SchemaBase | Literal["greedy", "parity"] + ] = Undefined, + labelPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + labelSeparation: Optional[Map | float | Parameter | SchemaBase] = Undefined, + layout: Optional[Map | Parameter | SchemaBase] = Undefined, + legendX: Optional[Map | float | Parameter | SchemaBase] = Undefined, + legendY: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, orient: Optional[SchemaBase | LegendOrient_T] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - rowPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + rowPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, strokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolBaseFillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, symbolBaseStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, symbolDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - symbolDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolDirection: Optional[ - dict | Parameter | SchemaBase | Orientation_T + Map | Parameter | SchemaBase | Orientation_T ] = Undefined, symbolFillColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, + symbolLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, symbolStrokeColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - symbolStrokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - symbolType: Optional[str | dict | Parameter | SchemaBase] = Undefined, + symbolStrokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + symbolType: Optional[Map | str | Parameter | SchemaBase] = Undefined, tickCount: Optional[ - dict | float | Parameter | SchemaBase | TimeInterval_T + Map | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, title: Optional[None] = Undefined, - titleAlign: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - titleAnchor: Optional[ - dict | Parameter | SchemaBase | TitleAnchor_T - ] = Undefined, + titleAlign: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + titleAnchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, titleBaseline: Optional[ - dict | Parameter | SchemaBase | TextBaseline_T + Map | Parameter | SchemaBase | TextBaseline_T ] = Undefined, titleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - titleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - titleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + titleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + titleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, titleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - titleLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - titleOrient: Optional[dict | Parameter | SchemaBase | Orient_T] = Undefined, - titlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + titleLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + titleOrient: Optional[Map | Parameter | SchemaBase | Orient_T] = Undefined, + titlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, unselectedOpacity: Optional[float] = Undefined, - zindex: Optional[dict | float | Parameter | SchemaBase] = Undefined, + zindex: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -10395,13 +10367,13 @@ class LegendStreamBinding(LegendBinding): Parameters ---------- - legend : str, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` + legend : Map, str, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` """ _schema = {"$ref": "#/definitions/LegendStreamBinding"} - def __init__(self, legend: Optional[str | dict | SchemaBase] = Undefined, **kwds): + def __init__(self, legend: Optional[Map | str | SchemaBase] = Undefined, **kwds): super().__init__(legend=legend, **kwds) @@ -10411,32 +10383,32 @@ class LineConfig(AnyMarkConfig): Parameters ---------- - align : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + align : Map, :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 : dict, float, :class:`ExprRef` + angle : Map, float, :class:`ExprRef` The rotation angle of the text, in degrees. - aria : bool, dict, :class:`ExprRef` + aria : Map, bool, :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 : str, dict, :class:`ExprRef` + ariaRole : Map, str, :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 : str, dict, :class:`ExprRef` + ariaRoleDescription : Map, str, :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 : bool, dict, :class:`ExprRef` + aspect : Map, bool, :class:`ExprRef` Whether to keep aspect ratio of image marks. - baseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + baseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', '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 @@ -10447,13 +10419,13 @@ class LineConfig(AnyMarkConfig): ``"middle"``, ``"bottom"``. **Note:** Expression reference is *not* supported for range marks. - 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'] + blend : Map, :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 : 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'] + color : Map, str, :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:`` ■ :raw-html:`` @@ -10465,59 +10437,59 @@ class LineConfig(AnyMarkConfig): `__. * The ``fill`` and ``stroke`` properties have higher precedence than ``color`` and will override ``color``. - cornerRadius : dict, float, :class:`ExprRef` + cornerRadius : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` - cornerRadiusBottomLeft : dict, float, :class:`ExprRef` + cornerRadiusBottomLeft : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom left corner. **Default value:** ``0`` - cornerRadiusBottomRight : dict, float, :class:`ExprRef` + cornerRadiusBottomRight : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom right corner. **Default value:** ``0`` - cornerRadiusTopLeft : dict, float, :class:`ExprRef` + cornerRadiusTopLeft : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top right corner. **Default value:** ``0`` - cornerRadiusTopRight : dict, float, :class:`ExprRef` + cornerRadiusTopRight : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top left corner. **Default value:** ``0`` - 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'] + cursor : Map, :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 : str, dict, :class:`ExprRef` + description : Map, str, :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 : dict, :class:`ExprRef`, :class:`TextDirection`, Literal['ltr', 'rtl'] + dir : Map, :class:`ExprRef`, :class:`TextDirection`, Literal['ltr', 'rtl'] 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 : dict, float, :class:`ExprRef` + dx : Map, 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 : dict, float, :class:`ExprRef` + dy : Map, 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 : str, dict, :class:`ExprRef` + ellipsis : Map, str, :class:`ExprRef` The ellipsis string for text truncated in response to the limit parameter. **Default value:** ``"…"`` - endAngle : dict, float, :class:`ExprRef` + endAngle : Map, float, :class:`ExprRef` The end angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - 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'] + fill : Map, str, 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 : dict, float, :class:`ExprRef` + fillOpacity : Map, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` @@ -10531,28 +10503,28 @@ class LineConfig(AnyMarkConfig): **Note:** This property cannot be used in a `style config `__. - font : str, dict, :class:`ExprRef` + font : Map, str, :class:`ExprRef` The typeface to set the text in (e.g., ``"Helvetica Neue"``). - fontSize : dict, float, :class:`ExprRef` + fontSize : Map, float, :class:`ExprRef` The font size, in pixels. **Default value:** ``11`` - fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + fontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` The font style (e.g., ``"italic"``). - fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : Map, :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 : dict, float, :class:`ExprRef` + height : Map, float, :class:`ExprRef` Height of the marks. - href : str, dict, :class:`URI`, :class:`ExprRef` + href : Map, str, :class:`URI`, :class:`ExprRef` A URL to load upon mouse click. If defined, the mark acts as a hyperlink. - innerRadius : dict, float, :class:`ExprRef` + innerRadius : Map, float, :class:`ExprRef` The inner radius in pixels of arc marks. ``innerRadius`` is an alias for ``radius2``. **Default value:** ``0`` - 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'] + interpolate : Map, :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: * ``"linear"``: piecewise linear segments, as in a polyline. @@ -10604,18 +10576,18 @@ class LineConfig(AnyMarkConfig): ``config.scale.invalid``, all values for the scales will be considered "valid" since they can produce a reasonable output for the scales. Thus, fields for such channels will not be filtered and will not cause path breaks. - limit : dict, float, :class:`ExprRef` + limit : Map, 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 : str, dict, :class:`ExprRef` + lineBreak : Map, str, :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 : dict, float, :class:`ExprRef` + lineHeight : Map, float, :class:`ExprRef` The line height in pixels (the spacing between subsequent lines of text) for multi-line text marks. - opacity : dict, float, :class:`ExprRef` + opacity : Map, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, @@ -10634,13 +10606,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 : dict, float, :class:`ExprRef` + outerRadius : Map, float, :class:`ExprRef` The outer radius in pixels of arc marks. ``outerRadius`` is an alias for ``radius``. **Default value:** ``0`` - padAngle : dict, float, :class:`ExprRef` + padAngle : Map, float, :class:`ExprRef` The angular padding applied to sides of the arc, in radians. - point : bool, dict, Literal['transparent'], :class:`OverlayMarkDef` + point : Map, bool, Literal['transparent'], :class:`OverlayMarkDef` A flag for overlaying points on top of line or area marks, or an object defining the properties of the overlayed points. @@ -10654,18 +10626,18 @@ class LineConfig(AnyMarkConfig): area marks. **Default value:** ``false``. - radius : dict, float, :class:`ExprRef` + radius : Map, 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 : dict, float, :class:`ExprRef` + radius2 : Map, float, :class:`ExprRef` The secondary (inner) radius in pixels of arc marks. **Default value:** ``0`` - shape : str, dict, :class:`ExprRef`, :class:`SymbolShape` + shape : Map, str, :class:`ExprRef`, :class:`SymbolShape` Shape of the point marks. Supported values include: * plotting shapes: ``"circle"``, ``"square"``, ``"cross"``, ``"diamond"``, @@ -10679,7 +10651,7 @@ class LineConfig(AnyMarkConfig): coordinates ranging from -1 to 1 along both the x and y dimensions.) **Default value:** ``"circle"`` - size : dict, float, :class:`ExprRef` + size : Map, float, :class:`ExprRef` Default size for marks. * For ``point``/``circle``/``square``, this represents the pixel area of the marks. @@ -10694,56 +10666,56 @@ class LineConfig(AnyMarkConfig): * ``2`` for bar marks with discrete dimensions; * ``5`` for bar marks with continuous dimensions; * ``11`` for text marks. - smooth : bool, dict, :class:`ExprRef` + smooth : Map, bool, :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 : dict, float, :class:`ExprRef` + startAngle : Map, float, :class:`ExprRef` The start angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - 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'] + stroke : Map, str, 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 : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : Map, :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 : dict, Sequence[float], :class:`ExprRef` + strokeDash : Map, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : dict, float, :class:`ExprRef` + strokeDashOffset : Map, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : Map, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : dict, float, :class:`ExprRef` + strokeMiterLimit : Map, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOffset : dict, float, :class:`ExprRef` + strokeOffset : Map, 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 : dict, float, :class:`ExprRef` + strokeOpacity : Map, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : dict, float, :class:`ExprRef` + strokeWidth : Map, float, :class:`ExprRef` The stroke width, in pixels. - tension : dict, float, :class:`ExprRef` + tension : Map, float, :class:`ExprRef` Depending on the interpolation type, sets the tension parameter (for line and area marks). - text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` + text : Map, str, :class:`Text`, Sequence[str], :class:`ExprRef` Placeholder text if the ``text`` channel is not specified - theta : dict, float, :class:`ExprRef` + theta : Map, 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 : dict, float, :class:`ExprRef` + theta2 : Map, 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 @@ -10754,7 +10726,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`TooltipContent` + tooltip : Map, str, bool, 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. @@ -10768,28 +10740,28 @@ class LineConfig(AnyMarkConfig): documentation for a detailed discussion about tooltip in Vega-Lite. **Default value:** ``null`` - url : str, dict, :class:`URI`, :class:`ExprRef` + url : Map, str, :class:`URI`, :class:`ExprRef` The URL of the image file for image marks. - width : dict, float, :class:`ExprRef` + width : Map, float, :class:`ExprRef` Width of the marks. - x : dict, float, :class:`ExprRef`, Literal['width'] + x : Map, float, :class:`ExprRef`, Literal['width'] 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 : dict, float, :class:`ExprRef`, Literal['width'] + x2 : Map, float, :class:`ExprRef`, Literal['width'] 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 : dict, float, :class:`ExprRef`, Literal['height'] + y : Map, float, :class:`ExprRef`, Literal['height'] 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 : dict, float, :class:`ExprRef`, Literal['height'] + y2 : Map, float, :class:`ExprRef`, Literal['height'] Y2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"height"`` for the @@ -10800,101 +10772,97 @@ class LineConfig(AnyMarkConfig): def __init__( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, - endAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, + endAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - startAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + startAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, **kwds, ): @@ -11010,7 +10978,7 @@ class LinearGradient(Gradient): ---------- gradient : Literal['linear'] The type of gradient. Use ``"linear"`` for a linear gradient. - stops : Sequence[dict, :class:`GradientStop`] + stops : Sequence[Map, :class:`GradientStop`] An array of gradient stops defining the gradient color sequence. id : str @@ -11037,7 +11005,7 @@ class LinearGradient(Gradient): def __init__( self, gradient: Optional[Literal["linear"]] = Undefined, - stops: Optional[Sequence[dict | SchemaBase]] = Undefined, + stops: Optional[Sequence[Map | SchemaBase]] = Undefined, id: Optional[str] = Undefined, x1: Optional[float] = Undefined, x2: Optional[float] = Undefined, @@ -11056,9 +11024,9 @@ class Locale(VegaLiteSchema): Parameters ---------- - number : dict, :class:`NumberLocale` + number : Map, :class:`NumberLocale` Locale definition for formatting numbers. - time : dict, :class:`TimeLocale` + time : Map, :class:`TimeLocale` Locale definition for formatting dates and times. """ @@ -11066,8 +11034,8 @@ class Locale(VegaLiteSchema): def __init__( self, - number: Optional[dict | SchemaBase] = Undefined, - time: Optional[dict | SchemaBase] = Undefined, + number: Optional[Map | SchemaBase] = Undefined, + time: Optional[Map | SchemaBase] = Undefined, **kwds, ): super().__init__(number=number, time=time, **kwds) @@ -11079,7 +11047,7 @@ class LookupData(VegaLiteSchema): Parameters ---------- - data : dict, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, :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 : str, :class:`FieldName` Key in data to lookup. @@ -11092,7 +11060,7 @@ class LookupData(VegaLiteSchema): def __init__( self, - data: Optional[dict | SchemaBase] = Undefined, + data: Optional[Map | SchemaBase] = Undefined, key: Optional[str | SchemaBase] = Undefined, fields: Optional[Sequence[str | SchemaBase]] = Undefined, **kwds, @@ -11146,32 +11114,32 @@ class MarkConfig(AnyMarkConfig): Parameters ---------- - align : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + align : Map, :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 : dict, float, :class:`ExprRef` + angle : Map, float, :class:`ExprRef` The rotation angle of the text, in degrees. - aria : bool, dict, :class:`ExprRef` + aria : Map, bool, :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 : str, dict, :class:`ExprRef` + ariaRole : Map, str, :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 : str, dict, :class:`ExprRef` + ariaRoleDescription : Map, str, :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 : bool, dict, :class:`ExprRef` + aspect : Map, bool, :class:`ExprRef` Whether to keep aspect ratio of image marks. - baseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + baseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', '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 @@ -11182,13 +11150,13 @@ class MarkConfig(AnyMarkConfig): ``"middle"``, ``"bottom"``. **Note:** Expression reference is *not* supported for range marks. - 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'] + blend : Map, :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 : 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'] + color : Map, str, :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:`` ■ :raw-html:`` @@ -11200,59 +11168,59 @@ class MarkConfig(AnyMarkConfig): `__. * The ``fill`` and ``stroke`` properties have higher precedence than ``color`` and will override ``color``. - cornerRadius : dict, float, :class:`ExprRef` + cornerRadius : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` - cornerRadiusBottomLeft : dict, float, :class:`ExprRef` + cornerRadiusBottomLeft : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom left corner. **Default value:** ``0`` - cornerRadiusBottomRight : dict, float, :class:`ExprRef` + cornerRadiusBottomRight : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom right corner. **Default value:** ``0`` - cornerRadiusTopLeft : dict, float, :class:`ExprRef` + cornerRadiusTopLeft : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top right corner. **Default value:** ``0`` - cornerRadiusTopRight : dict, float, :class:`ExprRef` + cornerRadiusTopRight : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top left corner. **Default value:** ``0`` - 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'] + cursor : Map, :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 : str, dict, :class:`ExprRef` + description : Map, str, :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 : dict, :class:`ExprRef`, :class:`TextDirection`, Literal['ltr', 'rtl'] + dir : Map, :class:`ExprRef`, :class:`TextDirection`, Literal['ltr', 'rtl'] 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 : dict, float, :class:`ExprRef` + dx : Map, 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 : dict, float, :class:`ExprRef` + dy : Map, 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 : str, dict, :class:`ExprRef` + ellipsis : Map, str, :class:`ExprRef` The ellipsis string for text truncated in response to the limit parameter. **Default value:** ``"…"`` - endAngle : dict, float, :class:`ExprRef` + endAngle : Map, float, :class:`ExprRef` The end angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - 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'] + fill : Map, str, 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 : dict, float, :class:`ExprRef` + fillOpacity : Map, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` @@ -11266,28 +11234,28 @@ class MarkConfig(AnyMarkConfig): **Note:** This property cannot be used in a `style config `__. - font : str, dict, :class:`ExprRef` + font : Map, str, :class:`ExprRef` The typeface to set the text in (e.g., ``"Helvetica Neue"``). - fontSize : dict, float, :class:`ExprRef` + fontSize : Map, float, :class:`ExprRef` The font size, in pixels. **Default value:** ``11`` - fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + fontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` The font style (e.g., ``"italic"``). - fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : Map, :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 : dict, float, :class:`ExprRef` + height : Map, float, :class:`ExprRef` Height of the marks. - href : str, dict, :class:`URI`, :class:`ExprRef` + href : Map, str, :class:`URI`, :class:`ExprRef` A URL to load upon mouse click. If defined, the mark acts as a hyperlink. - innerRadius : dict, float, :class:`ExprRef` + innerRadius : Map, float, :class:`ExprRef` The inner radius in pixels of arc marks. ``innerRadius`` is an alias for ``radius2``. **Default value:** ``0`` - 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'] + interpolate : Map, :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: * ``"linear"``: piecewise linear segments, as in a polyline. @@ -11339,18 +11307,18 @@ class MarkConfig(AnyMarkConfig): ``config.scale.invalid``, all values for the scales will be considered "valid" since they can produce a reasonable output for the scales. Thus, fields for such channels will not be filtered and will not cause path breaks. - limit : dict, float, :class:`ExprRef` + limit : Map, 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 : str, dict, :class:`ExprRef` + lineBreak : Map, str, :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 : dict, float, :class:`ExprRef` + lineHeight : Map, float, :class:`ExprRef` The line height in pixels (the spacing between subsequent lines of text) for multi-line text marks. - opacity : dict, float, :class:`ExprRef` + opacity : Map, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, @@ -11369,24 +11337,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 : dict, float, :class:`ExprRef` + outerRadius : Map, float, :class:`ExprRef` The outer radius in pixels of arc marks. ``outerRadius`` is an alias for ``radius``. **Default value:** ``0`` - padAngle : dict, float, :class:`ExprRef` + padAngle : Map, float, :class:`ExprRef` The angular padding applied to sides of the arc, in radians. - radius : dict, float, :class:`ExprRef` + radius : Map, 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 : dict, float, :class:`ExprRef` + radius2 : Map, float, :class:`ExprRef` The secondary (inner) radius in pixels of arc marks. **Default value:** ``0`` - shape : str, dict, :class:`ExprRef`, :class:`SymbolShape` + shape : Map, str, :class:`ExprRef`, :class:`SymbolShape` Shape of the point marks. Supported values include: * plotting shapes: ``"circle"``, ``"square"``, ``"cross"``, ``"diamond"``, @@ -11400,7 +11368,7 @@ class MarkConfig(AnyMarkConfig): coordinates ranging from -1 to 1 along both the x and y dimensions.) **Default value:** ``"circle"`` - size : dict, float, :class:`ExprRef` + size : Map, float, :class:`ExprRef` Default size for marks. * For ``point``/``circle``/``square``, this represents the pixel area of the marks. @@ -11415,56 +11383,56 @@ class MarkConfig(AnyMarkConfig): * ``2`` for bar marks with discrete dimensions; * ``5`` for bar marks with continuous dimensions; * ``11`` for text marks. - smooth : bool, dict, :class:`ExprRef` + smooth : Map, bool, :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 : dict, float, :class:`ExprRef` + startAngle : Map, float, :class:`ExprRef` The start angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - 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'] + stroke : Map, str, 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 : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : Map, :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 : dict, Sequence[float], :class:`ExprRef` + strokeDash : Map, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : dict, float, :class:`ExprRef` + strokeDashOffset : Map, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : Map, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : dict, float, :class:`ExprRef` + strokeMiterLimit : Map, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOffset : dict, float, :class:`ExprRef` + strokeOffset : Map, 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 : dict, float, :class:`ExprRef` + strokeOpacity : Map, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : dict, float, :class:`ExprRef` + strokeWidth : Map, float, :class:`ExprRef` The stroke width, in pixels. - tension : dict, float, :class:`ExprRef` + tension : Map, float, :class:`ExprRef` Depending on the interpolation type, sets the tension parameter (for line and area marks). - text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` + text : Map, str, :class:`Text`, Sequence[str], :class:`ExprRef` Placeholder text if the ``text`` channel is not specified - theta : dict, float, :class:`ExprRef` + theta : Map, 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 : dict, float, :class:`ExprRef` + theta2 : Map, 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 @@ -11475,7 +11443,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`TooltipContent` + tooltip : Map, str, bool, 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. @@ -11489,28 +11457,28 @@ class MarkConfig(AnyMarkConfig): documentation for a detailed discussion about tooltip in Vega-Lite. **Default value:** ``null`` - url : str, dict, :class:`URI`, :class:`ExprRef` + url : Map, str, :class:`URI`, :class:`ExprRef` The URL of the image file for image marks. - width : dict, float, :class:`ExprRef` + width : Map, float, :class:`ExprRef` Width of the marks. - x : dict, float, :class:`ExprRef`, Literal['width'] + x : Map, float, :class:`ExprRef`, Literal['width'] 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 : dict, float, :class:`ExprRef`, Literal['width'] + x2 : Map, float, :class:`ExprRef`, Literal['width'] 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 : dict, float, :class:`ExprRef`, Literal['height'] + y : Map, float, :class:`ExprRef`, Literal['height'] 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 : dict, float, :class:`ExprRef`, Literal['height'] + y2 : Map, float, :class:`ExprRef`, Literal['height'] Y2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"height"`` for the @@ -11521,100 +11489,96 @@ class MarkConfig(AnyMarkConfig): def __init__( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, - endAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, + endAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - startAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + startAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, **kwds, ): @@ -11703,37 +11667,37 @@ class MarkDef(AnyMark): ``"square"``, ``"tick"``, ``"line"``, ``"area"``, ``"point"``, ``"geoshape"``, ``"rule"``, and ``"text"``) or a composite mark type (``"boxplot"``, ``"errorband"``, ``"errorbar"``). - align : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + align : Map, :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 : dict, float, :class:`ExprRef` + angle : Map, float, :class:`ExprRef` The rotation angle of the text, in degrees. - aria : bool, dict, :class:`ExprRef` + aria : Map, bool, :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 : str, dict, :class:`ExprRef` + ariaRole : Map, str, :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 : str, dict, :class:`ExprRef` + ariaRoleDescription : Map, str, :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 : bool, dict, :class:`ExprRef` + aspect : Map, bool, :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 : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + baseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', '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 @@ -11749,15 +11713,15 @@ class MarkDef(AnyMark): (preferred by statisticians) or 1 (Vega-Lite default, D3 example style). **Default value:** ``1`` - 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'] + blend : Map, :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"`` - clip : bool, dict, :class:`ExprRef` + clip : Map, bool, :class:`ExprRef` Whether a mark be clipped to the enclosing group's width and height. - 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'] + color : Map, str, :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:`` ■ :raw-html:`` @@ -11773,63 +11737,63 @@ class MarkDef(AnyMark): The default size of the bars on continuous scales. **Default value:** ``5`` - cornerRadius : dict, float, :class:`ExprRef` + cornerRadius : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` - cornerRadiusBottomLeft : dict, float, :class:`ExprRef` + cornerRadiusBottomLeft : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom left corner. **Default value:** ``0`` - cornerRadiusBottomRight : dict, float, :class:`ExprRef` + cornerRadiusBottomRight : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom right corner. **Default value:** ``0`` - cornerRadiusEnd : dict, float, :class:`ExprRef` + cornerRadiusEnd : Map, float, :class:`ExprRef` * For vertical bars, top-left and top-right corner radius. * For horizontal bars, top-right and bottom-right corner radius. - cornerRadiusTopLeft : dict, float, :class:`ExprRef` + cornerRadiusTopLeft : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top right corner. **Default value:** ``0`` - cornerRadiusTopRight : dict, float, :class:`ExprRef` + cornerRadiusTopRight : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top left corner. **Default value:** ``0`` - 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'] + cursor : Map, :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 : str, dict, :class:`ExprRef` + description : Map, str, :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 : dict, :class:`ExprRef`, :class:`TextDirection`, Literal['ltr', 'rtl'] + dir : Map, :class:`ExprRef`, :class:`TextDirection`, Literal['ltr', 'rtl'] 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 : dict, float, :class:`RelativeBandSize` + discreteBandSize : Map, 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 : dict, float, :class:`ExprRef` + dx : Map, 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 : dict, float, :class:`ExprRef` + dy : Map, 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 : str, dict, :class:`ExprRef` + ellipsis : Map, str, :class:`ExprRef` The ellipsis string for text truncated in response to the limit parameter. **Default value:** ``"…"`` - 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'] + fill : Map, str, 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 : dict, float, :class:`ExprRef` + fillOpacity : Map, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` @@ -11843,33 +11807,33 @@ class MarkDef(AnyMark): **Note:** This property cannot be used in a `style config `__. - font : str, dict, :class:`ExprRef` + font : Map, str, :class:`ExprRef` The typeface to set the text in (e.g., ``"Helvetica Neue"``). - fontSize : dict, float, :class:`ExprRef` + fontSize : Map, float, :class:`ExprRef` The font size, in pixels. **Default value:** ``11`` - fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + fontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` The font style (e.g., ``"italic"``). - fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : Map, :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 : dict, float, :class:`ExprRef`, :class:`RelativeBandSize` + height : Map, float, :class:`ExprRef`, :class:`RelativeBandSize` Height of the marks. One of: * A number representing a fixed pixel height. * A relative band size definition. For example, ``{band: 0.5}`` represents half of the band - href : str, dict, :class:`URI`, :class:`ExprRef` + href : Map, str, :class:`URI`, :class:`ExprRef` A URL to load upon mouse click. If defined, the mark acts as a hyperlink. - innerRadius : dict, float, :class:`ExprRef` + innerRadius : Map, float, :class:`ExprRef` The inner radius in pixels of arc marks. ``innerRadius`` is an alias for ``radius2``. **Default value:** ``0`` - 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'] + interpolate : Map, :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: * ``"linear"``: piecewise linear segments, as in a polyline. @@ -11921,12 +11885,12 @@ class MarkDef(AnyMark): ``config.scale.invalid``, all values for the scales will be considered "valid" since they can produce a reasonable output for the scales. Thus, fields for such channels will not be filtered and will not cause path breaks. - limit : dict, float, :class:`ExprRef` + limit : Map, 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 : bool, dict, :class:`OverlayMarkDef` + line : Map, bool, :class:`OverlayMarkDef` A flag for overlaying line on top of area marks, or an object defining the properties of the overlayed lines. @@ -11936,15 +11900,15 @@ class MarkDef(AnyMark): * If this value is ``false``, no lines would be automatically added to area marks. **Default value:** ``false``. - lineBreak : str, dict, :class:`ExprRef` + lineBreak : Map, str, :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 : dict, float, :class:`ExprRef` + lineHeight : Map, float, :class:`ExprRef` The line height in pixels (the spacing between subsequent lines of text) for multi-line text marks. - minBandSize : dict, float, :class:`ExprRef` + minBandSize : Map, float, :class:`ExprRef` The minimum band size for bar and rectangle marks. **Default value:** ``0.25`` - opacity : dict, float, :class:`ExprRef` + opacity : Map, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, @@ -11963,13 +11927,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 : dict, float, :class:`ExprRef` + outerRadius : Map, float, :class:`ExprRef` The outer radius in pixels of arc marks. ``outerRadius`` is an alias for ``radius``. **Default value:** ``0`` - padAngle : dict, float, :class:`ExprRef` + padAngle : Map, float, :class:`ExprRef` The angular padding applied to sides of the arc, in radians. - point : bool, dict, Literal['transparent'], :class:`OverlayMarkDef` + point : Map, bool, Literal['transparent'], :class:`OverlayMarkDef` A flag for overlaying points on top of line or area marks, or an object defining the properties of the overlayed points. @@ -11983,22 +11947,22 @@ class MarkDef(AnyMark): area marks. **Default value:** ``false``. - radius : dict, float, :class:`ExprRef` + radius : Map, 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 : dict, float, :class:`ExprRef` + radius2 : Map, float, :class:`ExprRef` The secondary (inner) radius in pixels of arc marks. **Default value:** ``0`` - radius2Offset : dict, float, :class:`ExprRef` + radius2Offset : Map, float, :class:`ExprRef` Offset for radius2. - radiusOffset : dict, float, :class:`ExprRef` + radiusOffset : Map, float, :class:`ExprRef` Offset for radius. - shape : str, dict, :class:`ExprRef`, :class:`SymbolShape` + shape : Map, str, :class:`ExprRef`, :class:`SymbolShape` Shape of the point marks. Supported values include: * plotting shapes: ``"circle"``, ``"square"``, ``"cross"``, ``"diamond"``, @@ -12012,7 +11976,7 @@ class MarkDef(AnyMark): coordinates ranging from -1 to 1 along both the x and y dimensions.) **Default value:** ``"circle"`` - size : dict, float, :class:`ExprRef` + size : Map, float, :class:`ExprRef` Default size for marks. * For ``point``/``circle``/``square``, this represents the pixel area of the marks. @@ -12027,40 +11991,40 @@ class MarkDef(AnyMark): * ``2`` for bar marks with discrete dimensions; * ``5`` for bar marks with continuous dimensions; * ``11`` for text marks. - smooth : bool, dict, :class:`ExprRef` + smooth : Map, bool, :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 : 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'] + stroke : Map, str, 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 : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : Map, :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 : dict, Sequence[float], :class:`ExprRef` + strokeDash : Map, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : dict, float, :class:`ExprRef` + strokeDashOffset : Map, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : Map, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : dict, float, :class:`ExprRef` + strokeMiterLimit : Map, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOffset : dict, float, :class:`ExprRef` + strokeOffset : Map, 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 : dict, float, :class:`ExprRef` + strokeOpacity : Map, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : dict, float, :class:`ExprRef` + strokeWidth : Map, float, :class:`ExprRef` The stroke width, in pixels. style : str, Sequence[str] A string or array of strings indicating the name of custom styles to apply to the @@ -12076,23 +12040,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 : dict, float, :class:`ExprRef` + tension : Map, float, :class:`ExprRef` Depending on the interpolation type, sets the tension parameter (for line and area marks). - text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` + text : Map, str, :class:`Text`, Sequence[str], :class:`ExprRef` Placeholder text if the ``text`` channel is not specified - theta : dict, float, :class:`ExprRef` + theta : Map, 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 : dict, float, :class:`ExprRef` + theta2 : Map, float, :class:`ExprRef` The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise. - theta2Offset : dict, float, :class:`ExprRef` + theta2Offset : Map, float, :class:`ExprRef` Offset for theta2. - thetaOffset : dict, float, :class:`ExprRef` + thetaOffset : Map, float, :class:`ExprRef` Offset for theta. thickness : float Thickness of the tick mark. @@ -12106,7 +12070,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`TooltipContent` + tooltip : Map, str, bool, 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. @@ -12120,44 +12084,44 @@ class MarkDef(AnyMark): documentation for a detailed discussion about tooltip in Vega-Lite. **Default value:** ``null`` - url : str, dict, :class:`URI`, :class:`ExprRef` + url : Map, str, :class:`URI`, :class:`ExprRef` The URL of the image file for image marks. - width : dict, float, :class:`ExprRef`, :class:`RelativeBandSize` + width : Map, float, :class:`ExprRef`, :class:`RelativeBandSize` Width of the marks. One of: * A number representing a fixed pixel width. * A relative band size definition. For example, ``{band: 0.5}`` represents half of the band. - x : dict, float, :class:`ExprRef`, Literal['width'] + x : Map, float, :class:`ExprRef`, Literal['width'] 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 : dict, float, :class:`ExprRef`, Literal['width'] + x2 : Map, float, :class:`ExprRef`, Literal['width'] 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 : dict, float, :class:`ExprRef` + x2Offset : Map, float, :class:`ExprRef` Offset for x2-position. - xOffset : dict, float, :class:`ExprRef` + xOffset : Map, float, :class:`ExprRef` Offset for x-position. - y : dict, float, :class:`ExprRef`, Literal['height'] + y : Map, float, :class:`ExprRef`, Literal['height'] 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 : dict, float, :class:`ExprRef`, Literal['height'] + y2 : Map, float, :class:`ExprRef`, Literal['height'] 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 : dict, float, :class:`ExprRef` + y2Offset : Map, float, :class:`ExprRef` Offset for y2-position. - yOffset : dict, float, :class:`ExprRef` + yOffset : Map, float, :class:`ExprRef` Offset for y-position. """ @@ -12166,118 +12130,114 @@ class MarkDef(AnyMark): def __init__( self, type: Optional[SchemaBase | Mark_T] = Undefined, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, bandSize: Optional[float] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - clip: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + clip: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusEnd: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusEnd: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - line: Optional[bool | dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + line: Optional[Map | bool | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radiusOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radiusOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - thetaOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + thetaOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, thickness: Optional[float] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, - x2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - xOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + x2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + xOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, - y2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - yOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + y2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + yOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -12402,14 +12362,14 @@ 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 : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] + condition : Map, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -12506,11 +12466,9 @@ class FieldOrDatumDefWithConditionDatumDefGradientstringnull( def __init__( self, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, @@ -12534,9 +12492,9 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull( Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -12548,7 +12506,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -12569,14 +12527,14 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull( **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] + condition : Map, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -12591,7 +12549,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : dict, None, :class:`Legend` + legend : Map, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -12600,7 +12558,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull( **See also:** `legend `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -12613,7 +12571,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull( **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -12651,7 +12609,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull( **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -12754,28 +12712,26 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull( def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -12947,7 +12903,7 @@ class NamedData(DataSource): the layout when the data updates, set `autosize `__ or explicitly use `view.resize `__. - format : dict, :class:`DataFormat`, :class:`CsvDataFormat`, :class:`DsvDataFormat`, :class:`JsonDataFormat`, :class:`TopoDataFormat` + format : Map, :class:`DataFormat`, :class:`CsvDataFormat`, :class:`DsvDataFormat`, :class:`JsonDataFormat`, :class:`TopoDataFormat` An object that specifies the format for parsing the data. """ @@ -12956,7 +12912,7 @@ class NamedData(DataSource): def __init__( self, name: Optional[str] = Undefined, - format: Optional[dict | SchemaBase] = Undefined, + format: Optional[Map | SchemaBase] = Undefined, **kwds, ): super().__init__(name=name, format=format, **kwds) @@ -13058,14 +13014,14 @@ 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 : dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`] + condition : Map, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -13160,11 +13116,9 @@ class FieldOrDatumDefWithConditionDatumDefnumberArray( def __init__( self, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, @@ -13188,9 +13142,9 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray( Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -13202,7 +13156,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -13223,14 +13177,14 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray( **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`] + condition : Map, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -13245,7 +13199,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : dict, None, :class:`Legend` + legend : Map, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -13254,7 +13208,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray( **See also:** `legend `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -13267,7 +13221,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray( **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -13305,7 +13259,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray( **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -13408,28 +13362,26 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray( def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -13471,14 +13423,14 @@ 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 : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -13573,11 +13525,9 @@ class FieldOrDatumDefWithConditionDatumDefnumber(MarkPropDefnumber, NumericMarkP def __init__( self, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, @@ -13601,9 +13551,9 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumber( Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -13615,7 +13565,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -13636,14 +13586,14 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumber( **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -13658,7 +13608,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumber( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : dict, None, :class:`Legend` + legend : Map, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -13667,7 +13617,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumber( **See also:** `legend `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -13680,7 +13630,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumber( **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -13718,7 +13668,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumber( **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -13821,28 +13771,26 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefnumber( def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -13880,9 +13828,9 @@ class OrderFieldDef(VegaLiteSchema): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -13894,7 +13842,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -13915,7 +13863,7 @@ class OrderFieldDef(VegaLiteSchema): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -13932,7 +13880,7 @@ class OrderFieldDef(VegaLiteSchema): if ``aggregate`` is ``count``. sort : :class:`SortOrder`, Literal['ascending', 'descending'] The sort order. One of ``"ascending"`` (default) or ``"descending"``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -14033,14 +13981,14 @@ class OrderFieldDef(VegaLiteSchema): def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, sort: Optional[SchemaBase | SortOrder_T] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -14082,11 +14030,11 @@ class OrderValueDef(VegaLiteSchema): Parameters ---------- - value : dict, float, :class:`ExprRef` + value : Map, 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 : dict, :class:`ConditionalValueDefnumber`, :class:`ConditionalParameterValueDefnumber`, :class:`ConditionalPredicateValueDefnumber`, Sequence[dict, :class:`ConditionalValueDefnumber`, :class:`ConditionalParameterValueDefnumber`, :class:`ConditionalPredicateValueDefnumber`] + condition : Map, :class:`ConditionalValueDefnumber`, :class:`ConditionalParameterValueDefnumber`, :class:`ConditionalPredicateValueDefnumber`, Sequence[Map, :class:`ConditionalValueDefnumber`, :class:`ConditionalParameterValueDefnumber`, :class:`ConditionalPredicateValueDefnumber`] One or more value definition(s) with `a parameter or a test predicate `__. @@ -14099,10 +14047,8 @@ class OrderValueDef(VegaLiteSchema): def __init__( self, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(value=value, condition=condition, **kwds) @@ -14132,32 +14078,32 @@ class OverlayMarkDef(VegaLiteSchema): Parameters ---------- - align : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + align : Map, :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 : dict, float, :class:`ExprRef` + angle : Map, float, :class:`ExprRef` The rotation angle of the text, in degrees. - aria : bool, dict, :class:`ExprRef` + aria : Map, bool, :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 : str, dict, :class:`ExprRef` + ariaRole : Map, str, :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 : str, dict, :class:`ExprRef` + ariaRoleDescription : Map, str, :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 : bool, dict, :class:`ExprRef` + aspect : Map, bool, :class:`ExprRef` Whether to keep aspect ratio of image marks. - baseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + baseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', '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 @@ -14168,15 +14114,15 @@ class OverlayMarkDef(VegaLiteSchema): ``"middle"``, ``"bottom"``. **Note:** Expression reference is *not* supported for range marks. - 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'] + blend : Map, :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"`` - clip : bool, dict, :class:`ExprRef` + clip : Map, bool, :class:`ExprRef` Whether a mark be clipped to the enclosing group's width and height. - 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'] + color : Map, str, :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:`` ■ :raw-html:`` @@ -14188,59 +14134,59 @@ class OverlayMarkDef(VegaLiteSchema): `__. * The ``fill`` and ``stroke`` properties have higher precedence than ``color`` and will override ``color``. - cornerRadius : dict, float, :class:`ExprRef` + cornerRadius : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` - cornerRadiusBottomLeft : dict, float, :class:`ExprRef` + cornerRadiusBottomLeft : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom left corner. **Default value:** ``0`` - cornerRadiusBottomRight : dict, float, :class:`ExprRef` + cornerRadiusBottomRight : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom right corner. **Default value:** ``0`` - cornerRadiusTopLeft : dict, float, :class:`ExprRef` + cornerRadiusTopLeft : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top right corner. **Default value:** ``0`` - cornerRadiusTopRight : dict, float, :class:`ExprRef` + cornerRadiusTopRight : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top left corner. **Default value:** ``0`` - 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'] + cursor : Map, :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 : str, dict, :class:`ExprRef` + description : Map, str, :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 : dict, :class:`ExprRef`, :class:`TextDirection`, Literal['ltr', 'rtl'] + dir : Map, :class:`ExprRef`, :class:`TextDirection`, Literal['ltr', 'rtl'] 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 : dict, float, :class:`ExprRef` + dx : Map, 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 : dict, float, :class:`ExprRef` + dy : Map, 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 : str, dict, :class:`ExprRef` + ellipsis : Map, str, :class:`ExprRef` The ellipsis string for text truncated in response to the limit parameter. **Default value:** ``"…"`` - endAngle : dict, float, :class:`ExprRef` + endAngle : Map, float, :class:`ExprRef` The end angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - 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'] + fill : Map, str, 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 : dict, float, :class:`ExprRef` + fillOpacity : Map, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` @@ -14254,28 +14200,28 @@ class OverlayMarkDef(VegaLiteSchema): **Note:** This property cannot be used in a `style config `__. - font : str, dict, :class:`ExprRef` + font : Map, str, :class:`ExprRef` The typeface to set the text in (e.g., ``"Helvetica Neue"``). - fontSize : dict, float, :class:`ExprRef` + fontSize : Map, float, :class:`ExprRef` The font size, in pixels. **Default value:** ``11`` - fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + fontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` The font style (e.g., ``"italic"``). - fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : Map, :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 : dict, float, :class:`ExprRef` + height : Map, float, :class:`ExprRef` Height of the marks. - href : str, dict, :class:`URI`, :class:`ExprRef` + href : Map, str, :class:`URI`, :class:`ExprRef` A URL to load upon mouse click. If defined, the mark acts as a hyperlink. - innerRadius : dict, float, :class:`ExprRef` + innerRadius : Map, float, :class:`ExprRef` The inner radius in pixels of arc marks. ``innerRadius`` is an alias for ``radius2``. **Default value:** ``0`` - 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'] + interpolate : Map, :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: * ``"linear"``: piecewise linear segments, as in a polyline. @@ -14327,18 +14273,18 @@ class OverlayMarkDef(VegaLiteSchema): ``config.scale.invalid``, all values for the scales will be considered "valid" since they can produce a reasonable output for the scales. Thus, fields for such channels will not be filtered and will not cause path breaks. - limit : dict, float, :class:`ExprRef` + limit : Map, 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 : str, dict, :class:`ExprRef` + lineBreak : Map, str, :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 : dict, float, :class:`ExprRef` + lineHeight : Map, float, :class:`ExprRef` The line height in pixels (the spacing between subsequent lines of text) for multi-line text marks. - opacity : dict, float, :class:`ExprRef` + opacity : Map, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, @@ -14357,28 +14303,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 : dict, float, :class:`ExprRef` + outerRadius : Map, float, :class:`ExprRef` The outer radius in pixels of arc marks. ``outerRadius`` is an alias for ``radius``. **Default value:** ``0`` - padAngle : dict, float, :class:`ExprRef` + padAngle : Map, float, :class:`ExprRef` The angular padding applied to sides of the arc, in radians. - radius : dict, float, :class:`ExprRef` + radius : Map, 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 : dict, float, :class:`ExprRef` + radius2 : Map, float, :class:`ExprRef` The secondary (inner) radius in pixels of arc marks. **Default value:** ``0`` - radius2Offset : dict, float, :class:`ExprRef` + radius2Offset : Map, float, :class:`ExprRef` Offset for radius2. - radiusOffset : dict, float, :class:`ExprRef` + radiusOffset : Map, float, :class:`ExprRef` Offset for radius. - shape : str, dict, :class:`ExprRef`, :class:`SymbolShape` + shape : Map, str, :class:`ExprRef`, :class:`SymbolShape` Shape of the point marks. Supported values include: * plotting shapes: ``"circle"``, ``"square"``, ``"cross"``, ``"diamond"``, @@ -14392,7 +14338,7 @@ class OverlayMarkDef(VegaLiteSchema): coordinates ranging from -1 to 1 along both the x and y dimensions.) **Default value:** ``"circle"`` - size : dict, float, :class:`ExprRef` + size : Map, float, :class:`ExprRef` Default size for marks. * For ``point``/``circle``/``square``, this represents the pixel area of the marks. @@ -14407,43 +14353,43 @@ class OverlayMarkDef(VegaLiteSchema): * ``2`` for bar marks with discrete dimensions; * ``5`` for bar marks with continuous dimensions; * ``11`` for text marks. - smooth : bool, dict, :class:`ExprRef` + smooth : Map, bool, :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 : dict, float, :class:`ExprRef` + startAngle : Map, float, :class:`ExprRef` The start angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - 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'] + stroke : Map, str, 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 : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : Map, :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 : dict, Sequence[float], :class:`ExprRef` + strokeDash : Map, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : dict, float, :class:`ExprRef` + strokeDashOffset : Map, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : Map, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : dict, float, :class:`ExprRef` + strokeMiterLimit : Map, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOffset : dict, float, :class:`ExprRef` + strokeOffset : Map, 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 : dict, float, :class:`ExprRef` + strokeOpacity : Map, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : dict, float, :class:`ExprRef` + strokeWidth : Map, float, :class:`ExprRef` The stroke width, in pixels. style : str, Sequence[str] A string or array of strings indicating the name of custom styles to apply to the @@ -14459,23 +14405,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 : dict, float, :class:`ExprRef` + tension : Map, float, :class:`ExprRef` Depending on the interpolation type, sets the tension parameter (for line and area marks). - text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` + text : Map, str, :class:`Text`, Sequence[str], :class:`ExprRef` Placeholder text if the ``text`` channel is not specified - theta : dict, float, :class:`ExprRef` + theta : Map, 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 : dict, float, :class:`ExprRef` + theta2 : Map, float, :class:`ExprRef` The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise. - theta2Offset : dict, float, :class:`ExprRef` + theta2Offset : Map, float, :class:`ExprRef` Offset for theta2. - thetaOffset : dict, float, :class:`ExprRef` + thetaOffset : Map, float, :class:`ExprRef` Offset for theta. timeUnitBandPosition : float Default relative band position for a time unit. If set to ``0``, the marks will be @@ -14485,7 +14431,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`TooltipContent` + tooltip : Map, str, bool, 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. @@ -14499,39 +14445,39 @@ class OverlayMarkDef(VegaLiteSchema): documentation for a detailed discussion about tooltip in Vega-Lite. **Default value:** ``null`` - url : str, dict, :class:`URI`, :class:`ExprRef` + url : Map, str, :class:`URI`, :class:`ExprRef` The URL of the image file for image marks. - width : dict, float, :class:`ExprRef` + width : Map, float, :class:`ExprRef` Width of the marks. - x : dict, float, :class:`ExprRef`, Literal['width'] + x : Map, float, :class:`ExprRef`, Literal['width'] 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 : dict, float, :class:`ExprRef`, Literal['width'] + x2 : Map, float, :class:`ExprRef`, Literal['width'] 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 : dict, float, :class:`ExprRef` + x2Offset : Map, float, :class:`ExprRef` Offset for x2-position. - xOffset : dict, float, :class:`ExprRef` + xOffset : Map, float, :class:`ExprRef` Offset for x-position. - y : dict, float, :class:`ExprRef`, Literal['height'] + y : Map, float, :class:`ExprRef`, Literal['height'] 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 : dict, float, :class:`ExprRef`, Literal['height'] + y2 : Map, float, :class:`ExprRef`, Literal['height'] 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 : dict, float, :class:`ExprRef` + y2Offset : Map, float, :class:`ExprRef` Offset for y2-position. - yOffset : dict, float, :class:`ExprRef` + yOffset : Map, float, :class:`ExprRef` Offset for y-position. """ @@ -14539,111 +14485,107 @@ class OverlayMarkDef(VegaLiteSchema): def __init__( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - clip: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + clip: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, - endAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, + endAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radiusOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - startAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radiusOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + startAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - thetaOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + thetaOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, - x2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - xOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + x2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + xOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, - y2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - yOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + y2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + yOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -14821,7 +14763,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 : str, bool, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` + clear : Map, str, bool, :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. @@ -14854,7 +14796,7 @@ class PointSelectionConfig(VegaLiteSchema): **See also:** `nearest examples `__ documentation. - on : str, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` + on : Map, str, :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 @@ -14911,11 +14853,11 @@ class PointSelectionConfig(VegaLiteSchema): def __init__( self, type: Optional[Literal["point"]] = Undefined, - clear: Optional[str | bool | dict | SchemaBase] = Undefined, + clear: Optional[Map | str | bool | SchemaBase] = Undefined, encodings: Optional[Sequence[SchemaBase | SingleDefUnitChannel_T]] = Undefined, fields: Optional[Sequence[str | SchemaBase]] = Undefined, nearest: Optional[bool] = Undefined, - on: Optional[str | dict | SchemaBase] = Undefined, + on: Optional[Map | str | SchemaBase] = Undefined, resolve: Optional[SchemaBase | SelectionResolution_T] = Undefined, toggle: Optional[str | bool] = Undefined, **kwds, @@ -14939,7 +14881,7 @@ class PointSelectionConfigWithoutType(VegaLiteSchema): Parameters ---------- - clear : str, bool, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` + clear : Map, str, bool, :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. @@ -14972,7 +14914,7 @@ class PointSelectionConfigWithoutType(VegaLiteSchema): **See also:** `nearest examples `__ documentation. - on : str, dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` + on : Map, str, :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 @@ -15028,11 +14970,11 @@ class PointSelectionConfigWithoutType(VegaLiteSchema): def __init__( self, - clear: Optional[str | bool | dict | SchemaBase] = Undefined, + clear: Optional[Map | str | bool | SchemaBase] = Undefined, encodings: Optional[Sequence[SchemaBase | SingleDefUnitChannel_T]] = Undefined, fields: Optional[Sequence[str | SchemaBase]] = Undefined, nearest: Optional[bool] = Undefined, - on: Optional[str | dict | SchemaBase] = Undefined, + on: Optional[Map | str | SchemaBase] = Undefined, resolve: Optional[SchemaBase | SelectionResolution_T] = Undefined, toggle: Optional[str | bool] = Undefined, **kwds, @@ -15124,7 +15066,7 @@ 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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -15220,7 +15162,7 @@ def __init__( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, @@ -15241,9 +15183,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -15380,9 +15322,9 @@ def __init__( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, stack: Optional[bool | None | SchemaBase | StackOffset_T] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, @@ -15414,7 +15356,7 @@ class PositionDatumDef(PositionDef): Parameters ---------- - axis : dict, None, :class:`Axis` + axis : Map, 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. @@ -15427,9 +15369,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - impute : dict, None, :class:`ImputeParams` + impute : Map, 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 @@ -15437,7 +15379,7 @@ class PositionDatumDef(PositionDef): **See also:** `impute `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -15572,13 +15514,13 @@ class PositionDatumDef(PositionDef): def __init__( self, - axis: Optional[dict | None | SchemaBase] = Undefined, + axis: Optional[Map | None | SchemaBase] = Undefined, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - impute: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + impute: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, stack: Optional[bool | None | SchemaBase | StackOffset_T] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, @@ -15603,9 +15545,9 @@ class PositionFieldDef(PositionDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -15613,7 +15555,7 @@ class PositionFieldDef(PositionDef): **See also:** `aggregate `__ documentation. - axis : dict, None, :class:`Axis` + axis : Map, 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. @@ -15626,7 +15568,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -15647,7 +15589,7 @@ class PositionFieldDef(PositionDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -15662,7 +15604,7 @@ class PositionFieldDef(PositionDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - impute : dict, None, :class:`ImputeParams` + impute : Map, 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 @@ -15670,7 +15612,7 @@ class PositionFieldDef(PositionDef): **See also:** `impute `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -15683,7 +15625,7 @@ class PositionFieldDef(PositionDef): **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -15751,7 +15693,7 @@ class PositionFieldDef(PositionDef): **See also:** `stack `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -15852,27 +15794,27 @@ class PositionFieldDef(PositionDef): def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, - axis: Optional[dict | None | SchemaBase] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, + axis: Optional[Map | None | SchemaBase] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - impute: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + impute: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, stack: Optional[bool | None | SchemaBase | StackOffset_T] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -15902,9 +15844,9 @@ class PositionFieldDefBase(PolarDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -15916,7 +15858,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -15937,7 +15879,7 @@ class PositionFieldDefBase(PolarDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -15952,7 +15894,7 @@ class PositionFieldDefBase(PolarDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -15965,7 +15907,7 @@ class PositionFieldDefBase(PolarDef): **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -16033,7 +15975,7 @@ class PositionFieldDefBase(PolarDef): **See also:** `stack `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -16134,25 +16076,25 @@ class PositionFieldDefBase(PolarDef): def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, stack: Optional[bool | None | SchemaBase | StackOffset_T] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -16183,7 +16125,7 @@ class PositionValueDef(PolarDef, Position2Def, PositionDef): Parameters ---------- - value : dict, float, :class:`ExprRef`, Literal['height', 'width'] + value : Map, float, :class:`ExprRef`, Literal['height', 'width'] A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -16194,7 +16136,7 @@ class PositionValueDef(PolarDef, Position2Def, PositionDef): def __init__( self, value: Optional[ - dict | float | Parameter | SchemaBase | Literal["height", "width"] + Map | float | Parameter | SchemaBase | Literal["height", "width"] ] = Undefined, **kwds, ): @@ -16216,7 +16158,7 @@ class LogicalAndPredicate(PredicateComposition): Parameters ---------- - 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`] + and : Sequence[Map, str, :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`] """ @@ -16232,7 +16174,7 @@ class LogicalNotPredicate(PredicateComposition): Parameters ---------- - 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` + not : Map, str, :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` """ @@ -16248,7 +16190,7 @@ class LogicalOrPredicate(PredicateComposition): Parameters ---------- - 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`] + or : Sequence[Map, str, :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`] """ @@ -16273,11 +16215,11 @@ class FieldEqualPredicate(Predicate): Parameters ---------- - equal : str, bool, dict, float, :class:`ExprRef`, :class:`DateTime` + equal : Map, str, bool, float, :class:`ExprRef`, :class:`DateTime` The value that the field should be equal to. field : str, :class:`FieldName` Field to be tested. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit for the field to be tested. """ @@ -16285,10 +16227,10 @@ class FieldEqualPredicate(Predicate): def __init__( self, - equal: Optional[str | bool | dict | float | Parameter | SchemaBase] = Undefined, + equal: Optional[Map | str | bool | float | Parameter | SchemaBase] = Undefined, field: Optional[str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, **kwds, ): @@ -16303,9 +16245,9 @@ class FieldGTEPredicate(Predicate): ---------- field : str, :class:`FieldName` Field to be tested. - gte : str, dict, float, :class:`ExprRef`, :class:`DateTime` + gte : Map, str, float, :class:`ExprRef`, :class:`DateTime` The value that the field should be greater than or equals to. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit for the field to be tested. """ @@ -16314,9 +16256,9 @@ class FieldGTEPredicate(Predicate): def __init__( self, field: Optional[str | SchemaBase] = Undefined, - gte: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, + gte: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, **kwds, ): @@ -16331,9 +16273,9 @@ class FieldGTPredicate(Predicate): ---------- field : str, :class:`FieldName` Field to be tested. - gt : str, dict, float, :class:`ExprRef`, :class:`DateTime` + gt : Map, str, float, :class:`ExprRef`, :class:`DateTime` The value that the field should be greater than. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit for the field to be tested. """ @@ -16342,9 +16284,9 @@ class FieldGTPredicate(Predicate): def __init__( self, field: Optional[str | SchemaBase] = Undefined, - gt: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, + gt: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, **kwds, ): @@ -16359,9 +16301,9 @@ class FieldLTEPredicate(Predicate): ---------- field : str, :class:`FieldName` Field to be tested. - lte : str, dict, float, :class:`ExprRef`, :class:`DateTime` + lte : Map, str, float, :class:`ExprRef`, :class:`DateTime` The value that the field should be less than or equals to. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit for the field to be tested. """ @@ -16370,9 +16312,9 @@ class FieldLTEPredicate(Predicate): def __init__( self, field: Optional[str | SchemaBase] = Undefined, - lte: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, + lte: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, **kwds, ): @@ -16387,9 +16329,9 @@ class FieldLTPredicate(Predicate): ---------- field : str, :class:`FieldName` Field to be tested. - lt : str, dict, float, :class:`ExprRef`, :class:`DateTime` + lt : Map, str, float, :class:`ExprRef`, :class:`DateTime` The value that the field should be less than. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit for the field to be tested. """ @@ -16398,9 +16340,9 @@ class FieldLTPredicate(Predicate): def __init__( self, field: Optional[str | SchemaBase] = Undefined, - lt: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, + lt: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, **kwds, ): @@ -16415,10 +16357,10 @@ class FieldOneOfPredicate(Predicate): ---------- field : str, :class:`FieldName` Field to be tested. - oneOf : Sequence[str], Sequence[bool], Sequence[float], Sequence[dict, :class:`DateTime`] + oneOf : Sequence[str], Sequence[bool], Sequence[float], Sequence[Map, :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 : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit for the field to be tested. """ @@ -16431,10 +16373,10 @@ def __init__( Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, **kwds, ): @@ -16449,10 +16391,10 @@ class FieldRangePredicate(Predicate): ---------- field : str, :class:`FieldName` Field to be tested. - range : dict, :class:`ExprRef`, Sequence[dict, None, float, :class:`ExprRef`, :class:`DateTime`] + range : Map, :class:`ExprRef`, Sequence[Map, 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 : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit for the field to be tested. """ @@ -16462,13 +16404,13 @@ def __init__( self, field: Optional[str | SchemaBase] = Undefined, range: Optional[ - dict + Map | Parameter | SchemaBase - | Sequence[dict | None | float | Parameter | SchemaBase] + | Sequence[Map | None | float | Parameter | SchemaBase] ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, **kwds, ): @@ -16487,7 +16429,7 @@ class FieldValidPredicate(Predicate): If set to true the field's value has to be valid, meaning both not ``null`` and not `NaN `__. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit for the field to be tested. """ @@ -16498,7 +16440,7 @@ def __init__( field: Optional[str | SchemaBase] = Undefined, valid: Optional[bool] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, **kwds, ): @@ -16535,100 +16477,100 @@ class Projection(VegaLiteSchema): Parameters ---------- - center : dict, Sequence[float], :class:`ExprRef`, :class:`Vector2number` + center : Map, 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 : dict, float, :class:`ExprRef` + clipAngle : Map, 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 : dict, :class:`ExprRef`, :class:`Vector2Vector2number`, Sequence[Sequence[float], :class:`Vector2number`] + clipExtent : Map, :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 : dict, float, :class:`ExprRef` + coefficient : Map, float, :class:`ExprRef` The coefficient parameter for the ``hammer`` projection. **Default value:** ``2`` - distance : dict, float, :class:`ExprRef` + distance : Map, 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 : dict, :class:`ExprRef`, :class:`Vector2Vector2number`, Sequence[Sequence[float], :class:`Vector2number`] + extent : Map, :class:`ExprRef`, :class:`Vector2Vector2number`, Sequence[Sequence[float], :class:`Vector2number`] - 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`]] + fit : Map, :class:`Fit`, :class:`ExprRef`, :class:`GeoJsonFeature`, :class:`GeoJsonFeatureCollection`, Sequence[Map, :class:`GeoJsonFeature`], Sequence[Map, :class:`Fit`, :class:`GeoJsonFeature`, :class:`GeoJsonFeatureCollection`, Sequence[Map, :class:`GeoJsonFeature`]] - fraction : dict, float, :class:`ExprRef` + fraction : Map, float, :class:`ExprRef` The fraction parameter for the ``bottomley`` projection. **Default value:** ``0.5``, corresponding to a sin(ψ) where ψ = π/6. - lobes : dict, float, :class:`ExprRef` + lobes : Map, 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 : dict, float, :class:`ExprRef` + parallel : Map, 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 : dict, Sequence[float], :class:`ExprRef` + parallels : Map, 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 : dict, float, :class:`ExprRef` + pointRadius : Map, 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 : dict, float, :class:`ExprRef` + precision : Map, 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 : dict, float, :class:`ExprRef` + radius : Map, float, :class:`ExprRef` The radius parameter for the ``airy`` or ``gingery`` projection. The default value varies based on the projection type. - ratio : dict, float, :class:`ExprRef` + ratio : Map, float, :class:`ExprRef` The ratio parameter for the ``hill``, ``hufnagel``, or ``wagner`` projections. The default value varies based on the projection type. - reflectX : bool, dict, :class:`ExprRef` + reflectX : Map, bool, :class:`ExprRef` Sets whether or not the x-dimension is reflected (negated) in the output. - reflectY : bool, dict, :class:`ExprRef` + reflectY : Map, bool, :class:`ExprRef` Sets whether or not the y-dimension is reflected (negated) in the output. - rotate : dict, Sequence[float], :class:`ExprRef`, :class:`Vector2number`, :class:`Vector3number` + rotate : Map, 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 : dict, float, :class:`ExprRef` + scale : Map, 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 : dict, Sequence[float], :class:`ExprRef`, :class:`Vector2number` + size : Map, 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 : dict, float, :class:`ExprRef` + spacing : Map, float, :class:`ExprRef` The spacing parameter for the ``lagrange`` projection. **Default value:** ``0.5`` - tilt : dict, float, :class:`ExprRef` + tilt : Map, float, :class:`ExprRef` The tilt angle (in degrees) for the ``satellite`` projection. **Default value:** ``0``. - translate : dict, Sequence[float], :class:`ExprRef`, :class:`Vector2number` + translate : Map, Sequence[float], :class:`ExprRef`, :class:`Vector2number` The projection's translation offset as a two-element array ``[tx, ty]``. - type : dict, :class:`ExprRef`, :class:`ProjectionType`, Literal['albers', 'albersUsa', 'azimuthalEqualArea', 'azimuthalEquidistant', 'conicConformal', 'conicEqualArea', 'conicEquidistant', 'equalEarth', 'equirectangular', 'gnomonic', 'identity', 'mercator', 'naturalEarth1', 'orthographic', 'stereographic', 'transverseMercator'] + type : Map, :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 @@ -16641,44 +16583,40 @@ class Projection(VegaLiteSchema): def __init__( self, - center: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - clipAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + center: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + clipAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, clipExtent: Optional[ - dict | Parameter | SchemaBase | Sequence[SchemaBase | Sequence[float]] + Map | Parameter | SchemaBase | Sequence[SchemaBase | Sequence[float]] ] = Undefined, - coefficient: Optional[dict | float | Parameter | SchemaBase] = Undefined, - distance: Optional[dict | float | Parameter | SchemaBase] = Undefined, + coefficient: Optional[Map | float | Parameter | SchemaBase] = Undefined, + distance: Optional[Map | float | Parameter | SchemaBase] = Undefined, extent: Optional[ - dict | Parameter | SchemaBase | Sequence[SchemaBase | Sequence[float]] + Map | Parameter | SchemaBase | Sequence[SchemaBase | Sequence[float]] ] = Undefined, fit: Optional[ - dict + Map | Parameter | SchemaBase - | Sequence[dict | SchemaBase] - | Sequence[dict | SchemaBase | Sequence[dict | SchemaBase]] - ] = Undefined, - fraction: Optional[dict | float | Parameter | SchemaBase] = Undefined, - lobes: Optional[dict | float | Parameter | SchemaBase] = Undefined, - parallel: Optional[dict | float | Parameter | SchemaBase] = Undefined, - parallels: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - pointRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - precision: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ratio: Optional[dict | float | Parameter | SchemaBase] = Undefined, - reflectX: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - reflectY: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - rotate: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - scale: Optional[dict | float | Parameter | SchemaBase] = Undefined, - size: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - spacing: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tilt: Optional[dict | float | Parameter | SchemaBase] = Undefined, - translate: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - type: Optional[dict | Parameter | SchemaBase | ProjectionType_T] = Undefined, + | Sequence[Map | SchemaBase] + | Sequence[Map | SchemaBase | Sequence[Map | SchemaBase]] + ] = Undefined, + fraction: Optional[Map | float | Parameter | SchemaBase] = Undefined, + lobes: Optional[Map | float | Parameter | SchemaBase] = Undefined, + parallel: Optional[Map | float | Parameter | SchemaBase] = Undefined, + parallels: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + pointRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + precision: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ratio: Optional[Map | float | Parameter | SchemaBase] = Undefined, + reflectX: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + reflectY: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + rotate: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + scale: Optional[Map | float | Parameter | SchemaBase] = Undefined, + size: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + spacing: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tilt: Optional[Map | float | Parameter | SchemaBase] = Undefined, + translate: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + type: Optional[Map | Parameter | SchemaBase | ProjectionType_T] = Undefined, **kwds, ): super().__init__( @@ -16716,100 +16654,100 @@ class ProjectionConfig(VegaLiteSchema): Parameters ---------- - center : dict, Sequence[float], :class:`ExprRef`, :class:`Vector2number` + center : Map, 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 : dict, float, :class:`ExprRef` + clipAngle : Map, 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 : dict, :class:`ExprRef`, :class:`Vector2Vector2number`, Sequence[Sequence[float], :class:`Vector2number`] + clipExtent : Map, :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 : dict, float, :class:`ExprRef` + coefficient : Map, float, :class:`ExprRef` The coefficient parameter for the ``hammer`` projection. **Default value:** ``2`` - distance : dict, float, :class:`ExprRef` + distance : Map, 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 : dict, :class:`ExprRef`, :class:`Vector2Vector2number`, Sequence[Sequence[float], :class:`Vector2number`] + extent : Map, :class:`ExprRef`, :class:`Vector2Vector2number`, Sequence[Sequence[float], :class:`Vector2number`] - 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`]] + fit : Map, :class:`Fit`, :class:`ExprRef`, :class:`GeoJsonFeature`, :class:`GeoJsonFeatureCollection`, Sequence[Map, :class:`GeoJsonFeature`], Sequence[Map, :class:`Fit`, :class:`GeoJsonFeature`, :class:`GeoJsonFeatureCollection`, Sequence[Map, :class:`GeoJsonFeature`]] - fraction : dict, float, :class:`ExprRef` + fraction : Map, float, :class:`ExprRef` The fraction parameter for the ``bottomley`` projection. **Default value:** ``0.5``, corresponding to a sin(ψ) where ψ = π/6. - lobes : dict, float, :class:`ExprRef` + lobes : Map, 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 : dict, float, :class:`ExprRef` + parallel : Map, 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 : dict, Sequence[float], :class:`ExprRef` + parallels : Map, 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 : dict, float, :class:`ExprRef` + pointRadius : Map, 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 : dict, float, :class:`ExprRef` + precision : Map, 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 : dict, float, :class:`ExprRef` + radius : Map, float, :class:`ExprRef` The radius parameter for the ``airy`` or ``gingery`` projection. The default value varies based on the projection type. - ratio : dict, float, :class:`ExprRef` + ratio : Map, float, :class:`ExprRef` The ratio parameter for the ``hill``, ``hufnagel``, or ``wagner`` projections. The default value varies based on the projection type. - reflectX : bool, dict, :class:`ExprRef` + reflectX : Map, bool, :class:`ExprRef` Sets whether or not the x-dimension is reflected (negated) in the output. - reflectY : bool, dict, :class:`ExprRef` + reflectY : Map, bool, :class:`ExprRef` Sets whether or not the y-dimension is reflected (negated) in the output. - rotate : dict, Sequence[float], :class:`ExprRef`, :class:`Vector2number`, :class:`Vector3number` + rotate : Map, 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 : dict, float, :class:`ExprRef` + scale : Map, 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 : dict, Sequence[float], :class:`ExprRef`, :class:`Vector2number` + size : Map, 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 : dict, float, :class:`ExprRef` + spacing : Map, float, :class:`ExprRef` The spacing parameter for the ``lagrange`` projection. **Default value:** ``0.5`` - tilt : dict, float, :class:`ExprRef` + tilt : Map, float, :class:`ExprRef` The tilt angle (in degrees) for the ``satellite`` projection. **Default value:** ``0``. - translate : dict, Sequence[float], :class:`ExprRef`, :class:`Vector2number` + translate : Map, Sequence[float], :class:`ExprRef`, :class:`Vector2number` The projection's translation offset as a two-element array ``[tx, ty]``. - type : dict, :class:`ExprRef`, :class:`ProjectionType`, Literal['albers', 'albersUsa', 'azimuthalEqualArea', 'azimuthalEquidistant', 'conicConformal', 'conicEqualArea', 'conicEquidistant', 'equalEarth', 'equirectangular', 'gnomonic', 'identity', 'mercator', 'naturalEarth1', 'orthographic', 'stereographic', 'transverseMercator'] + type : Map, :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 @@ -16822,44 +16760,40 @@ class ProjectionConfig(VegaLiteSchema): def __init__( self, - center: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - clipAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + center: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + clipAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, clipExtent: Optional[ - dict | Parameter | SchemaBase | Sequence[SchemaBase | Sequence[float]] + Map | Parameter | SchemaBase | Sequence[SchemaBase | Sequence[float]] ] = Undefined, - coefficient: Optional[dict | float | Parameter | SchemaBase] = Undefined, - distance: Optional[dict | float | Parameter | SchemaBase] = Undefined, + coefficient: Optional[Map | float | Parameter | SchemaBase] = Undefined, + distance: Optional[Map | float | Parameter | SchemaBase] = Undefined, extent: Optional[ - dict | Parameter | SchemaBase | Sequence[SchemaBase | Sequence[float]] + Map | Parameter | SchemaBase | Sequence[SchemaBase | Sequence[float]] ] = Undefined, fit: Optional[ - dict + Map | Parameter | SchemaBase - | Sequence[dict | SchemaBase] - | Sequence[dict | SchemaBase | Sequence[dict | SchemaBase]] - ] = Undefined, - fraction: Optional[dict | float | Parameter | SchemaBase] = Undefined, - lobes: Optional[dict | float | Parameter | SchemaBase] = Undefined, - parallel: Optional[dict | float | Parameter | SchemaBase] = Undefined, - parallels: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - pointRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - precision: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ratio: Optional[dict | float | Parameter | SchemaBase] = Undefined, - reflectX: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - reflectY: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - rotate: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - scale: Optional[dict | float | Parameter | SchemaBase] = Undefined, - size: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, - spacing: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tilt: Optional[dict | float | Parameter | SchemaBase] = Undefined, - translate: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - type: Optional[dict | Parameter | SchemaBase | ProjectionType_T] = Undefined, + | Sequence[Map | SchemaBase] + | Sequence[Map | SchemaBase | Sequence[Map | SchemaBase]] + ] = Undefined, + fraction: Optional[Map | float | Parameter | SchemaBase] = Undefined, + lobes: Optional[Map | float | Parameter | SchemaBase] = Undefined, + parallel: Optional[Map | float | Parameter | SchemaBase] = Undefined, + parallels: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + pointRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + precision: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ratio: Optional[Map | float | Parameter | SchemaBase] = Undefined, + reflectX: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + reflectY: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + rotate: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + scale: Optional[Map | float | Parameter | SchemaBase] = Undefined, + size: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + spacing: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tilt: Optional[Map | float | Parameter | SchemaBase] = Undefined, + translate: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, + type: Optional[Map | Parameter | SchemaBase | ProjectionType_T] = Undefined, **kwds, ): super().__init__( @@ -16908,7 +16842,7 @@ class RadialGradient(Gradient): ---------- gradient : Literal['radial'] The type of gradient. Use ``"radial"`` for a radial gradient. - stops : Sequence[dict, :class:`GradientStop`] + stops : Sequence[Map, :class:`GradientStop`] An array of gradient stops defining the gradient color sequence. id : str @@ -16949,7 +16883,7 @@ class RadialGradient(Gradient): def __init__( self, gradient: Optional[Literal["radial"]] = Undefined, - stops: Optional[Sequence[dict | SchemaBase]] = Undefined, + stops: Optional[Sequence[Map | SchemaBase]] = Undefined, id: Optional[str] = Undefined, r1: Optional[float] = Undefined, r2: Optional[float] = Undefined, @@ -16979,19 +16913,19 @@ class RangeConfig(VegaLiteSchema): Parameters ---------- - 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']] + category : Map, :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 : 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']] + diverging : Map, :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 : 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']] + heatmap : Map, :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 : 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']] + ordinal : Map, :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 : 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']] + ramp : Map, :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[str, :class:`SymbolShape`] @@ -17004,35 +16938,35 @@ class RangeConfig(VegaLiteSchema): def __init__( self, category: Optional[ - dict + Map | SchemaBase | Sequence[str | SchemaBase | ColorName_T] | Sequence[str | bool | None | float | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, diverging: Optional[ - dict + Map | SchemaBase | Sequence[str | SchemaBase | ColorName_T] | Sequence[str | bool | None | float | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, heatmap: Optional[ - dict + Map | SchemaBase | Sequence[str | SchemaBase | ColorName_T] | Sequence[str | bool | None | float | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, ordinal: Optional[ - dict + Map | SchemaBase | Sequence[str | SchemaBase | ColorName_T] | Sequence[str | bool | None | float | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, ramp: Optional[ - dict + Map | SchemaBase | Sequence[str | SchemaBase | ColorName_T] | Sequence[str | bool | None | float | SchemaBase | Sequence[float]] @@ -17094,32 +17028,32 @@ class RectConfig(AnyMarkConfig): Parameters ---------- - align : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + align : Map, :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 : dict, float, :class:`ExprRef` + angle : Map, float, :class:`ExprRef` The rotation angle of the text, in degrees. - aria : bool, dict, :class:`ExprRef` + aria : Map, bool, :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 : str, dict, :class:`ExprRef` + ariaRole : Map, str, :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 : str, dict, :class:`ExprRef` + ariaRoleDescription : Map, str, :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 : bool, dict, :class:`ExprRef` + aspect : Map, bool, :class:`ExprRef` Whether to keep aspect ratio of image marks. - baseline : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + baseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', '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 @@ -17135,13 +17069,13 @@ class RectConfig(AnyMarkConfig): (preferred by statisticians) or 1 (Vega-Lite default, D3 example style). **Default value:** ``1`` - 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'] + blend : Map, :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 : 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'] + color : Map, str, :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:`` ■ :raw-html:`` @@ -17157,62 +17091,62 @@ class RectConfig(AnyMarkConfig): The default size of the bars on continuous scales. **Default value:** ``5`` - cornerRadius : dict, float, :class:`ExprRef` + cornerRadius : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` - cornerRadiusBottomLeft : dict, float, :class:`ExprRef` + cornerRadiusBottomLeft : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom left corner. **Default value:** ``0`` - cornerRadiusBottomRight : dict, float, :class:`ExprRef` + cornerRadiusBottomRight : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom right corner. **Default value:** ``0`` - cornerRadiusTopLeft : dict, float, :class:`ExprRef` + cornerRadiusTopLeft : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top right corner. **Default value:** ``0`` - cornerRadiusTopRight : dict, float, :class:`ExprRef` + cornerRadiusTopRight : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top left corner. **Default value:** ``0`` - 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'] + cursor : Map, :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 : str, dict, :class:`ExprRef` + description : Map, str, :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 : dict, :class:`ExprRef`, :class:`TextDirection`, Literal['ltr', 'rtl'] + dir : Map, :class:`ExprRef`, :class:`TextDirection`, Literal['ltr', 'rtl'] 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 : dict, float, :class:`RelativeBandSize` + discreteBandSize : Map, 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 : dict, float, :class:`ExprRef` + dx : Map, 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 : dict, float, :class:`ExprRef` + dy : Map, 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 : str, dict, :class:`ExprRef` + ellipsis : Map, str, :class:`ExprRef` The ellipsis string for text truncated in response to the limit parameter. **Default value:** ``"…"`` - endAngle : dict, float, :class:`ExprRef` + endAngle : Map, float, :class:`ExprRef` The end angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - 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'] + fill : Map, str, 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 : dict, float, :class:`ExprRef` + fillOpacity : Map, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` @@ -17226,28 +17160,28 @@ class RectConfig(AnyMarkConfig): **Note:** This property cannot be used in a `style config `__. - font : str, dict, :class:`ExprRef` + font : Map, str, :class:`ExprRef` The typeface to set the text in (e.g., ``"Helvetica Neue"``). - fontSize : dict, float, :class:`ExprRef` + fontSize : Map, float, :class:`ExprRef` The font size, in pixels. **Default value:** ``11`` - fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + fontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` The font style (e.g., ``"italic"``). - fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : Map, :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 : dict, float, :class:`ExprRef` + height : Map, float, :class:`ExprRef` Height of the marks. - href : str, dict, :class:`URI`, :class:`ExprRef` + href : Map, str, :class:`URI`, :class:`ExprRef` A URL to load upon mouse click. If defined, the mark acts as a hyperlink. - innerRadius : dict, float, :class:`ExprRef` + innerRadius : Map, float, :class:`ExprRef` The inner radius in pixels of arc marks. ``innerRadius`` is an alias for ``radius2``. **Default value:** ``0`` - 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'] + interpolate : Map, :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: * ``"linear"``: piecewise linear segments, as in a polyline. @@ -17299,20 +17233,20 @@ class RectConfig(AnyMarkConfig): ``config.scale.invalid``, all values for the scales will be considered "valid" since they can produce a reasonable output for the scales. Thus, fields for such channels will not be filtered and will not cause path breaks. - limit : dict, float, :class:`ExprRef` + limit : Map, 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 : str, dict, :class:`ExprRef` + lineBreak : Map, str, :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 : dict, float, :class:`ExprRef` + lineHeight : Map, float, :class:`ExprRef` The line height in pixels (the spacing between subsequent lines of text) for multi-line text marks. - minBandSize : dict, float, :class:`ExprRef` + minBandSize : Map, float, :class:`ExprRef` The minimum band size for bar and rectangle marks. **Default value:** ``0.25`` - opacity : dict, float, :class:`ExprRef` + opacity : Map, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, @@ -17331,24 +17265,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 : dict, float, :class:`ExprRef` + outerRadius : Map, float, :class:`ExprRef` The outer radius in pixels of arc marks. ``outerRadius`` is an alias for ``radius``. **Default value:** ``0`` - padAngle : dict, float, :class:`ExprRef` + padAngle : Map, float, :class:`ExprRef` The angular padding applied to sides of the arc, in radians. - radius : dict, float, :class:`ExprRef` + radius : Map, 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 : dict, float, :class:`ExprRef` + radius2 : Map, float, :class:`ExprRef` The secondary (inner) radius in pixels of arc marks. **Default value:** ``0`` - shape : str, dict, :class:`ExprRef`, :class:`SymbolShape` + shape : Map, str, :class:`ExprRef`, :class:`SymbolShape` Shape of the point marks. Supported values include: * plotting shapes: ``"circle"``, ``"square"``, ``"cross"``, ``"diamond"``, @@ -17362,7 +17296,7 @@ class RectConfig(AnyMarkConfig): coordinates ranging from -1 to 1 along both the x and y dimensions.) **Default value:** ``"circle"`` - size : dict, float, :class:`ExprRef` + size : Map, float, :class:`ExprRef` Default size for marks. * For ``point``/``circle``/``square``, this represents the pixel area of the marks. @@ -17377,56 +17311,56 @@ class RectConfig(AnyMarkConfig): * ``2`` for bar marks with discrete dimensions; * ``5`` for bar marks with continuous dimensions; * ``11`` for text marks. - smooth : bool, dict, :class:`ExprRef` + smooth : Map, bool, :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 : dict, float, :class:`ExprRef` + startAngle : Map, float, :class:`ExprRef` The start angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - 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'] + stroke : Map, str, 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 : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : Map, :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 : dict, Sequence[float], :class:`ExprRef` + strokeDash : Map, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : dict, float, :class:`ExprRef` + strokeDashOffset : Map, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : Map, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : dict, float, :class:`ExprRef` + strokeMiterLimit : Map, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOffset : dict, float, :class:`ExprRef` + strokeOffset : Map, 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 : dict, float, :class:`ExprRef` + strokeOpacity : Map, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : dict, float, :class:`ExprRef` + strokeWidth : Map, float, :class:`ExprRef` The stroke width, in pixels. - tension : dict, float, :class:`ExprRef` + tension : Map, float, :class:`ExprRef` Depending on the interpolation type, sets the tension parameter (for line and area marks). - text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` + text : Map, str, :class:`Text`, Sequence[str], :class:`ExprRef` Placeholder text if the ``text`` channel is not specified - theta : dict, float, :class:`ExprRef` + theta : Map, 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 : dict, float, :class:`ExprRef` + theta2 : Map, 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 @@ -17437,7 +17371,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`TooltipContent` + tooltip : Map, str, bool, 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. @@ -17451,28 +17385,28 @@ class RectConfig(AnyMarkConfig): documentation for a detailed discussion about tooltip in Vega-Lite. **Default value:** ``null`` - url : str, dict, :class:`URI`, :class:`ExprRef` + url : Map, str, :class:`URI`, :class:`ExprRef` The URL of the image file for image marks. - width : dict, float, :class:`ExprRef` + width : Map, float, :class:`ExprRef` Width of the marks. - x : dict, float, :class:`ExprRef`, Literal['width'] + x : Map, float, :class:`ExprRef`, Literal['width'] 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 : dict, float, :class:`ExprRef`, Literal['width'] + x2 : Map, float, :class:`ExprRef`, Literal['width'] 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 : dict, float, :class:`ExprRef`, Literal['height'] + y : Map, float, :class:`ExprRef`, Literal['height'] 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 : dict, float, :class:`ExprRef`, Literal['height'] + y2 : Map, float, :class:`ExprRef`, Literal['height'] Y2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"height"`` for the @@ -17483,104 +17417,100 @@ class RectConfig(AnyMarkConfig): def __init__( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, - endAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, + endAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - startAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + startAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, **kwds, ): @@ -17734,11 +17664,11 @@ class Resolve(VegaLiteSchema): Parameters ---------- - axis : dict, :class:`AxisResolveMap` + axis : Map, :class:`AxisResolveMap` - legend : dict, :class:`LegendResolveMap` + legend : Map, :class:`LegendResolveMap` - scale : dict, :class:`ScaleResolveMap` + scale : Map, :class:`ScaleResolveMap` """ @@ -17746,9 +17676,9 @@ class Resolve(VegaLiteSchema): def __init__( self, - axis: Optional[dict | SchemaBase] = Undefined, - legend: Optional[dict | SchemaBase] = Undefined, - scale: Optional[dict | SchemaBase] = Undefined, + axis: Optional[Map | SchemaBase] = Undefined, + legend: Optional[Map | SchemaBase] = Undefined, + scale: Optional[Map | SchemaBase] = Undefined, **kwds, ): super().__init__(axis=axis, legend=legend, scale=scale, **kwds) @@ -17838,9 +17768,9 @@ class RowColumnEncodingFieldDef(VegaLiteSchema): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -17865,7 +17795,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -17891,7 +17821,7 @@ class RowColumnEncodingFieldDef(VegaLiteSchema): respective rows or columns. **Default value:** ``false`` - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -17906,9 +17836,9 @@ class RowColumnEncodingFieldDef(VegaLiteSchema): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - header : dict, None, :class:`Header` + header : Map, None, :class:`Header` An object defining properties of a facet's header. - sort : dict, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'] + sort : Map, None, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[Map, :class:`DateTime`], Literal['ascending', 'descending'] Sort order for the encoded field. For continuous fields (quantitative or temporal), ``sort`` can be either @@ -17940,7 +17870,7 @@ class RowColumnEncodingFieldDef(VegaLiteSchema): **Default value**: Depends on ``"spacing"`` property of `the view composition configuration `__ (``20`` by default) - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -18041,27 +17971,27 @@ class RowColumnEncodingFieldDef(VegaLiteSchema): def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, align: Optional[SchemaBase | LayoutAlign_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, center: Optional[bool] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - header: Optional[dict | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + header: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | SortOrder_T ] = Undefined, spacing: Optional[float] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -18091,7 +18021,7 @@ class Scale(VegaLiteSchema): Parameters ---------- - align : dict, float, :class:`ExprRef` + align : Map, 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 @@ -18099,9 +18029,9 @@ class Scale(VegaLiteSchema): shift the bands to one side, say to position them adjacent to an axis. **Default value:** ``0.5`` - base : dict, float, :class:`ExprRef` + base : Map, float, :class:`ExprRef` The logarithm base of the ``log`` scale (default ``10``). - bins : dict, Sequence[float], :class:`ScaleBins`, :class:`ScaleBinParams` + bins : Map, 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: @@ -18115,19 +18045,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 : bool, dict, :class:`ExprRef` + clamp : Map, bool, :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 : dict, float, :class:`ExprRef` + constant : Map, float, :class:`ExprRef` A constant determining the slope of the symlog function around zero. Only used for ``symlog`` scales. **Default value:** ``1`` - domain : dict, :class:`ExprRef`, Literal['unaggregated'], :class:`DomainUnionWith`, :class:`ParameterExtent`, Sequence[str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`] + domain : Map, :class:`ExprRef`, Literal['unaggregated'], :class:`DomainUnionWith`, :class:`ParameterExtent`, Sequence[Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`] Customized domain values in the form of constant values or dynamic values driven by a parameter. @@ -18158,27 +18088,27 @@ class Scale(VegaLiteSchema): `interactively determines `__ the scale domain. - domainMax : dict, float, :class:`ExprRef`, :class:`DateTime` + domainMax : Map, 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 : dict, float, :class:`ExprRef` + domainMid : Map, 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 : dict, float, :class:`ExprRef`, :class:`DateTime` + domainMin : Map, 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 : dict, :class:`ExprRef` + domainRaw : Map, :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 : dict, float, :class:`ExprRef` + exponent : Map, float, :class:`ExprRef` The exponent of the ``pow`` scale. - interpolate : dict, :class:`ExprRef`, :class:`ScaleInterpolateEnum`, :class:`ScaleInterpolateParams`, Literal['rgb', 'lab', 'hcl', 'hsl', 'hsl-long', 'hcl-long', 'cubehelix', 'cubehelix-long'] + interpolate : Map, :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 @@ -18190,7 +18120,7 @@ class Scale(VegaLiteSchema): `__. * **Default value:** ``hcl`` - nice : bool, dict, float, :class:`ExprRef`, :class:`TimeInterval`, :class:`TimeIntervalStep`, Literal['millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'year'] + nice : Map, bool, 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 @@ -18212,7 +18142,7 @@ class Scale(VegaLiteSchema): **Default value:** ``true`` for unbinned *quantitative* fields without explicit domain bounds; ``false`` otherwise. - padding : dict, float, :class:`ExprRef` + padding : Map, 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 @@ -18231,7 +18161,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 : dict, float, :class:`ExprRef` + paddingInner : Map, 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]. @@ -18240,7 +18170,7 @@ class Scale(VegaLiteSchema): **Default value:** derived from the `scale config `__'s ``bandPaddingInner``. - paddingOuter : dict, float, :class:`ExprRef` + paddingOuter : Map, 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]. @@ -18248,7 +18178,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 : dict, :class:`RangeEnum`, :class:`FieldRange`, Sequence[str, dict, float, Sequence[float], :class:`ExprRef`], Literal['width', 'height', 'symbol', 'category', 'ordinal', 'ramp', 'diverging', 'heatmap'] + range : Map, :class:`RangeEnum`, :class:`FieldRange`, Sequence[Map, str, float, Sequence[float], :class:`ExprRef`], Literal['width', 'height', 'symbol', 'category', 'ordinal', 'ramp', 'diverging', 'heatmap'] The range of the scale. One of: * A string indicating a `pre-defined named scale range @@ -18275,22 +18205,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 : str, dict, float, :class:`ExprRef` + rangeMax : Map, str, 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 : str, dict, float, :class:`ExprRef` + rangeMin : Map, str, 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 : bool, dict, :class:`ExprRef` + reverse : Map, bool, :class:`ExprRef` If true, reverses the order of the scale range. **Default value:** ``false``. - round : bool, dict, :class:`ExprRef` + round : Map, bool, :class:`ExprRef` If ``true``, rounds numeric output values to integers. This can be helpful for snapping to the pixel grid. **Default value:** ``false``. - scheme : dict, :class:`ExprRef`, :class:`Cyclical`, :class:`Diverging`, :class:`Categorical`, :class:`ColorScheme`, :class:`SchemeParams`, :class:`SequentialMultiHue`, :class:`SequentialSingleHue`, Literal['accent', 'category10', 'category20', 'category20b', 'category20c', 'dark2', 'paired', 'pastel1', 'pastel2', 'set1', 'set2', 'set3', 'tableau10', 'tableau20', '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', 'blues', 'tealblues', 'teals', 'greens', 'browns', 'greys', 'purples', 'warmgreys', 'reds', 'oranges', 'rainbow', 'sinebow', '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'] + scheme : Map, :class:`ExprRef`, :class:`Cyclical`, :class:`Diverging`, :class:`Categorical`, :class:`ColorScheme`, :class:`SchemeParams`, :class:`SequentialMultiHue`, :class:`SequentialSingleHue`, Literal['accent', 'category10', 'category20', 'category20b', 'category20c', 'dark2', 'paired', 'pastel1', 'pastel2', 'set1', 'set2', 'set3', 'tableau10', 'tableau20', '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', 'blues', 'tealblues', 'teals', 'greens', 'browns', 'greys', 'purples', 'warmgreys', 'reds', 'oranges', 'rainbow', 'sinebow', '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 @@ -18336,7 +18266,7 @@ class Scale(VegaLiteSchema): **Default value:** please see the `scale type table `__. - zero : bool, dict, :class:`ExprRef` + zero : Map, bool, :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 @@ -18349,45 +18279,45 @@ class Scale(VegaLiteSchema): def __init__( self, - align: Optional[dict | float | Parameter | SchemaBase] = Undefined, - base: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bins: Optional[dict | SchemaBase | Sequence[float]] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - constant: Optional[dict | float | Parameter | SchemaBase] = Undefined, + align: Optional[Map | float | Parameter | SchemaBase] = Undefined, + base: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bins: Optional[Map | SchemaBase | Sequence[float]] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + constant: Optional[Map | float | Parameter | SchemaBase] = Undefined, domain: Optional[ - dict + Map | Parameter | SchemaBase | Literal["unaggregated"] - | Sequence[str | bool | dict | None | float | Parameter | SchemaBase] + | Sequence[Map | str | bool | None | float | Parameter | SchemaBase] ] = Undefined, - domainMax: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMid: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainMin: Optional[dict | float | Parameter | SchemaBase] = Undefined, - domainRaw: Optional[dict | Parameter | SchemaBase] = Undefined, - exponent: Optional[dict | float | Parameter | SchemaBase] = Undefined, + domainMax: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMid: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainMin: Optional[Map | float | Parameter | SchemaBase] = Undefined, + domainRaw: Optional[Map | Parameter | SchemaBase] = Undefined, + exponent: Optional[Map | float | Parameter | SchemaBase] = Undefined, interpolate: Optional[ - dict | Parameter | SchemaBase | ScaleInterpolateEnum_T + Map | Parameter | SchemaBase | ScaleInterpolateEnum_T ] = Undefined, nice: Optional[ - bool | dict | float | Parameter | SchemaBase | TimeInterval_T + Map | bool | float | Parameter | SchemaBase | TimeInterval_T ] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - paddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + paddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, range: Optional[ - dict + Map | SchemaBase - | Sequence[str | dict | float | Parameter | SchemaBase | Sequence[float]] + | Sequence[Map | str | float | Parameter | SchemaBase | Sequence[float]] | RangeEnum_T ] = Undefined, - rangeMax: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - rangeMin: Optional[str | dict | float | Parameter | SchemaBase] = Undefined, - reverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - scheme: Optional[dict | Parameter | SchemaBase | ColorScheme_T] = Undefined, + rangeMax: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + rangeMin: Optional[Map | str | float | Parameter | SchemaBase] = Undefined, + reverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + scheme: Optional[Map | Parameter | SchemaBase | ColorScheme_T] = Undefined, type: Optional[SchemaBase | ScaleType_T] = Undefined, - zero: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + zero: Optional[Map | bool | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -18464,7 +18394,7 @@ class ScaleConfig(VegaLiteSchema): Parameters ---------- - bandPaddingInner : dict, float, :class:`ExprRef` + bandPaddingInner : Map, float, :class:`ExprRef` Default inner padding for ``x`` and ``y`` band scales. **Default value:** @@ -18472,34 +18402,34 @@ 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 : dict, float, :class:`ExprRef` + bandPaddingOuter : Map, 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 : dict, float, :class:`ExprRef` + bandWithNestedOffsetPaddingInner : Map, float, :class:`ExprRef` Default inner padding for ``x`` and ``y`` band scales with nested ``xOffset`` and ``yOffset`` encoding. **Default value:** ``0.2`` - bandWithNestedOffsetPaddingOuter : dict, float, :class:`ExprRef` + bandWithNestedOffsetPaddingOuter : Map, float, :class:`ExprRef` Default outer padding for ``x`` and ``y`` band scales with nested ``xOffset`` and ``yOffset`` encoding. **Default value:** ``0.2`` - barBandPaddingInner : dict, float, :class:`ExprRef` + barBandPaddingInner : Map, float, :class:`ExprRef` Default inner padding for ``x`` and ``y`` band-ordinal scales of ``"bar"`` marks. **Default value:** ``0.1`` - clamp : bool, dict, :class:`ExprRef` + clamp : Map, bool, :class:`ExprRef` If true, values that exceed the data domain are clamped to either the minimum or maximum range value - continuousPadding : dict, float, :class:`ExprRef` + continuousPadding : Map, float, :class:`ExprRef` Default padding for continuous x/y scales. **Default:** The bar width for continuous x-scale of a vertical bar and continuous y-scale of a horizontal bar.; ``0`` otherwise. - invalid : dict, :class:`ScaleInvalidDataConfig` + invalid : Map, :class:`ScaleInvalidDataConfig` An object that defines scale outputs per channel for invalid values (nulls and NaNs on a continuous scale). @@ -18553,15 +18483,15 @@ class ScaleConfig(VegaLiteSchema): of size for trail marks. **Default value:** ``1`` - offsetBandPaddingInner : dict, float, :class:`ExprRef` + offsetBandPaddingInner : Map, float, :class:`ExprRef` Default padding inner for xOffset/yOffset's band scales. **Default Value:** ``0`` - offsetBandPaddingOuter : dict, float, :class:`ExprRef` + offsetBandPaddingOuter : Map, float, :class:`ExprRef` Default padding outer for xOffset/yOffset's band scales. **Default Value:** ``0`` - pointPadding : dict, float, :class:`ExprRef` + pointPadding : Map, 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 * @@ -18576,14 +18506,14 @@ class ScaleConfig(VegaLiteSchema): `__ scale. **Default value:** ``4`` - rectBandPaddingInner : dict, float, :class:`ExprRef` + rectBandPaddingInner : Map, float, :class:`ExprRef` Default inner padding for ``x`` and ``y`` band-ordinal scales of ``"rect"`` marks. **Default value:** ``0`` - round : bool, dict, :class:`ExprRef` + round : Map, bool, :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.) - tickBandPaddingInner : dict, float, :class:`ExprRef` + tickBandPaddingInner : Map, float, :class:`ExprRef` Default inner padding for ``x`` and ``y`` band-ordinal scales of ``"tick"`` marks. **Default value:** ``0.25`` @@ -18600,7 +18530,7 @@ class ScaleConfig(VegaLiteSchema): domain (e.g. ``"count"``, ``"sum"``), this property is ignored. **Default value:** ``false`` - xReverse : bool, dict, :class:`ExprRef` + xReverse : Map, bool, :class:`ExprRef` Reverse x-scale by default (useful for right-to-left charts). zero : bool Default ``scale.zero`` for `continuous @@ -18614,20 +18544,18 @@ class ScaleConfig(VegaLiteSchema): def __init__( self, - bandPaddingInner: Optional[dict | float | Parameter | SchemaBase] = Undefined, - bandPaddingOuter: Optional[dict | float | Parameter | SchemaBase] = Undefined, + bandPaddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + bandPaddingOuter: Optional[Map | float | Parameter | SchemaBase] = Undefined, bandWithNestedOffsetPaddingInner: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, bandWithNestedOffsetPaddingOuter: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - barBandPaddingInner: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, - clamp: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - continuousPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - invalid: Optional[dict | SchemaBase] = Undefined, + barBandPaddingInner: Optional[Map | float | Parameter | SchemaBase] = Undefined, + clamp: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + continuousPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + invalid: Optional[Map | SchemaBase] = Undefined, maxBandSize: Optional[float] = Undefined, maxFontSize: Optional[float] = Undefined, maxOpacity: Optional[float] = Undefined, @@ -18639,23 +18567,23 @@ def __init__( minSize: Optional[float] = Undefined, minStrokeWidth: Optional[float] = Undefined, offsetBandPaddingInner: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, offsetBandPaddingOuter: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, - pointPadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + pointPadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, quantileCount: Optional[float] = Undefined, quantizeCount: Optional[float] = Undefined, rectBandPaddingInner: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, - round: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + round: Optional[Map | bool | Parameter | SchemaBase] = Undefined, tickBandPaddingInner: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, useUnaggregatedDomain: Optional[bool] = Undefined, - xReverse: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + xReverse: Optional[Map | bool | Parameter | SchemaBase] = Undefined, zero: Optional[bool] = Undefined, **kwds, ): @@ -18703,9 +18631,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -18812,9 +18740,9 @@ def __init__( self, bandPosition: Optional[float] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, **kwds, @@ -18835,9 +18763,9 @@ class ScaleFieldDef(OffsetDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -18849,7 +18777,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -18870,7 +18798,7 @@ class ScaleFieldDef(OffsetDef): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -18885,7 +18813,7 @@ class ScaleFieldDef(OffsetDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -18898,7 +18826,7 @@ class ScaleFieldDef(OffsetDef): **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -18936,7 +18864,7 @@ class ScaleFieldDef(OffsetDef): **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -19037,24 +18965,24 @@ class ScaleFieldDef(OffsetDef): def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -19113,39 +19041,39 @@ class ScaleInvalidDataConfig(VegaLiteSchema): Parameters ---------- - angle : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsangle`, :class:`ScaleInvalidDataShowAsValueangle` + angle : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsangle`, :class:`ScaleInvalidDataShowAsValueangle` - color : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAscolor`, :class:`ScaleInvalidDataShowAsValuecolor` + color : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAscolor`, :class:`ScaleInvalidDataShowAsValuecolor` - fill : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsfill`, :class:`ScaleInvalidDataShowAsValuefill` + fill : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsfill`, :class:`ScaleInvalidDataShowAsValuefill` - fillOpacity : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsfillOpacity`, :class:`ScaleInvalidDataShowAsValuefillOpacity` + fillOpacity : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsfillOpacity`, :class:`ScaleInvalidDataShowAsValuefillOpacity` - opacity : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsopacity`, :class:`ScaleInvalidDataShowAsValueopacity` + opacity : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsopacity`, :class:`ScaleInvalidDataShowAsValueopacity` - radius : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsradius`, :class:`ScaleInvalidDataShowAsValueradius` + radius : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsradius`, :class:`ScaleInvalidDataShowAsValueradius` - shape : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsshape`, :class:`ScaleInvalidDataShowAsValueshape` + shape : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsshape`, :class:`ScaleInvalidDataShowAsValueshape` - size : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAssize`, :class:`ScaleInvalidDataShowAsValuesize` + size : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAssize`, :class:`ScaleInvalidDataShowAsValuesize` - stroke : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsstroke`, :class:`ScaleInvalidDataShowAsValuestroke` + stroke : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsstroke`, :class:`ScaleInvalidDataShowAsValuestroke` - strokeDash : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsstrokeDash`, :class:`ScaleInvalidDataShowAsValuestrokeDash` + strokeDash : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsstrokeDash`, :class:`ScaleInvalidDataShowAsValuestrokeDash` - strokeOpacity : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsstrokeOpacity`, :class:`ScaleInvalidDataShowAsValuestrokeOpacity` + strokeOpacity : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsstrokeOpacity`, :class:`ScaleInvalidDataShowAsValuestrokeOpacity` - strokeWidth : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsstrokeWidth`, :class:`ScaleInvalidDataShowAsValuestrokeWidth` + strokeWidth : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsstrokeWidth`, :class:`ScaleInvalidDataShowAsValuestrokeWidth` - theta : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAstheta`, :class:`ScaleInvalidDataShowAsValuetheta` + theta : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAstheta`, :class:`ScaleInvalidDataShowAsValuetheta` - x : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsx`, :class:`ScaleInvalidDataShowAsValuex` + x : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsx`, :class:`ScaleInvalidDataShowAsValuex` - xOffset : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsxOffset`, :class:`ScaleInvalidDataShowAsValuexOffset` + xOffset : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsxOffset`, :class:`ScaleInvalidDataShowAsValuexOffset` - y : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsy`, :class:`ScaleInvalidDataShowAsValuey` + y : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsy`, :class:`ScaleInvalidDataShowAsValuey` - yOffset : dict, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsyOffset`, :class:`ScaleInvalidDataShowAsValueyOffset` + yOffset : Map, Literal['zero-or-min'], :class:`ScaleInvalidDataShowAsyOffset`, :class:`ScaleInvalidDataShowAsValueyOffset` """ @@ -19153,23 +19081,23 @@ class ScaleInvalidDataConfig(VegaLiteSchema): def __init__( self, - angle: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, - color: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, - fill: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, - fillOpacity: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, - opacity: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, - radius: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, - shape: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, - size: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, - stroke: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, - strokeDash: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, - strokeOpacity: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, - strokeWidth: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, - theta: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, - x: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, - xOffset: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, - y: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, - yOffset: Optional[dict | SchemaBase | Literal["zero-or-min"]] = Undefined, + angle: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, + color: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, + fill: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, + fillOpacity: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, + opacity: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, + radius: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, + shape: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, + size: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, + stroke: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, + strokeDash: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, + strokeOpacity: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, + strokeWidth: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, + theta: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, + x: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, + xOffset: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, + y: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, + yOffset: Optional[Map | SchemaBase | Literal["zero-or-min"]] = Undefined, **kwds, ): super().__init__( @@ -19234,7 +19162,7 @@ class ScaleInvalidDataShowAsValuecolor(ScaleInvalidDataShowAscolor): Parameters ---------- - value : str, dict, :class:`Color`, :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'] + value : Map, str, :class:`Color`, :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:`` ■ :raw-html:`` @@ -19251,7 +19179,7 @@ class ScaleInvalidDataShowAsValuecolor(ScaleInvalidDataShowAscolor): _schema = {"$ref": '#/definitions/ScaleInvalidDataShowAsValue<"color">'} def __init__( - self, value: Optional[str | dict | SchemaBase | ColorName_T] = Undefined, **kwds + self, value: Optional[Map | str | SchemaBase | ColorName_T] = Undefined, **kwds ): super().__init__(value=value, **kwds) @@ -19271,7 +19199,7 @@ class ScaleInvalidDataShowAsValuefill(ScaleInvalidDataShowAsfill): Parameters ---------- - value : str, dict, None, :class:`Color`, :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'] + value : Map, str, None, :class:`Color`, :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. @@ -19282,7 +19210,7 @@ class ScaleInvalidDataShowAsValuefill(ScaleInvalidDataShowAsfill): def __init__( self, - value: Optional[str | dict | None | SchemaBase | ColorName_T] = Undefined, + value: Optional[Map | str | None | SchemaBase | ColorName_T] = Undefined, **kwds, ): super().__init__(value=value, **kwds) @@ -19463,7 +19391,7 @@ class ScaleInvalidDataShowAsValuestroke(ScaleInvalidDataShowAsstroke): Parameters ---------- - value : str, dict, None, :class:`Color`, :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'] + value : Map, str, None, :class:`Color`, :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. @@ -19474,7 +19402,7 @@ class ScaleInvalidDataShowAsValuestroke(ScaleInvalidDataShowAsstroke): def __init__( self, - value: Optional[str | dict | None | SchemaBase | ColorName_T] = Undefined, + value: Optional[Map | str | None | SchemaBase | ColorName_T] = Undefined, **kwds, ): super().__init__(value=value, **kwds) @@ -19832,9 +19760,9 @@ class SecondaryFieldDef(Position2Def): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -19867,7 +19795,7 @@ class SecondaryFieldDef(Position2Def): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -19882,7 +19810,7 @@ class SecondaryFieldDef(Position2Def): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -19917,13 +19845,13 @@ class SecondaryFieldDef(Position2Def): def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, bin: Optional[None] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, **kwds, @@ -19946,7 +19874,7 @@ class SelectionConfig(VegaLiteSchema): Parameters ---------- - interval : dict, :class:`IntervalSelectionConfigWithoutType` + interval : Map, :class:`IntervalSelectionConfigWithoutType` The default definition for an `interval `__ selection. All properties and transformations for an interval selection definition (except @@ -19954,7 +19882,7 @@ class SelectionConfig(VegaLiteSchema): For instance, setting ``interval`` to ``{"translate": false}`` disables the ability to move interval selections by default. - point : dict, :class:`PointSelectionConfigWithoutType` + point : Map, :class:`PointSelectionConfigWithoutType` The default definition for a `point `__ selection. All properties and transformations for a point selection definition (except ``type``) @@ -19968,8 +19896,8 @@ class SelectionConfig(VegaLiteSchema): def __init__( self, - interval: Optional[dict | SchemaBase] = Undefined, - point: Optional[dict | SchemaBase] = Undefined, + interval: Optional[Map | SchemaBase] = Undefined, + point: Optional[Map | SchemaBase] = Undefined, **kwds, ): super().__init__(interval=interval, point=point, **kwds) @@ -20102,14 +20030,14 @@ class SelectionParameter(VegaLiteSchema): 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 : dict, :class:`SelectionType`, Literal['point', 'interval'], :class:`PointSelectionConfig`, :class:`IntervalSelectionConfig` + select : Map, :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: * ``"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 : dict, :class:`Binding`, :class:`BindInput`, :class:`BindRange`, :class:`BindDirect`, :class:`BindCheckbox`, :class:`LegendBinding`, :class:`BindRadioSelect`, Literal['legend', 'scales'], :class:`LegendStreamBinding` + bind : Map, :class:`Binding`, :class:`BindInput`, :class:`BindRange`, :class:`BindDirect`, :class:`BindCheckbox`, :class:`LegendBinding`, :class:`BindRadioSelect`, Literal['legend', 'scales'], :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 @@ -20125,7 +20053,7 @@ class SelectionParameter(VegaLiteSchema): **See also:** `bind `__ documentation. - value : str, bool, dict, None, float, :class:`DateTime`, :class:`SelectionInit`, :class:`PrimitiveValue`, :class:`SelectionInitIntervalMapping`, Sequence[dict, :class:`SelectionInitMapping`] + value : Map, str, bool, None, float, :class:`DateTime`, :class:`SelectionInit`, :class:`PrimitiveValue`, :class:`SelectionInitIntervalMapping`, Sequence[Map, :class:`SelectionInitMapping`] Initialize the selection with a mapping between `projected channels or field names `__ and initial values. @@ -20139,10 +20067,10 @@ class SelectionParameter(VegaLiteSchema): def __init__( self, name: Optional[str | SchemaBase] = Undefined, - select: Optional[dict | SchemaBase | SelectionType_T] = Undefined, - bind: Optional[dict | SchemaBase | Literal["legend", "scales"]] = Undefined, + select: Optional[Map | SchemaBase | SelectionType_T] = Undefined, + bind: Optional[Map | SchemaBase | Literal["legend", "scales"]] = Undefined, value: Optional[ - str | bool | dict | None | float | SchemaBase | Sequence[dict | SchemaBase] + Map | str | bool | None | float | SchemaBase | Sequence[Map | SchemaBase] ] = Undefined, **kwds, ): @@ -20173,7 +20101,7 @@ class SequenceGenerator(Generator): Parameters ---------- - sequence : dict, :class:`SequenceParams` + sequence : Map, :class:`SequenceParams` Generate a sequence of numbers. name : str Provide a placeholder name and bind data at runtime. @@ -20183,7 +20111,7 @@ class SequenceGenerator(Generator): def __init__( self, - sequence: Optional[dict | SchemaBase] = Undefined, + sequence: Optional[Map | SchemaBase] = Undefined, name: Optional[str] = Undefined, **kwds, ): @@ -20261,14 +20189,14 @@ 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 : dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] + condition : Map, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. title : str, None, :class:`Text`, Sequence[str] A title for the field. If ``null``, the title will be removed. @@ -20365,11 +20293,9 @@ class FieldOrDatumDefWithConditionDatumDefstringnull( def __init__( self, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, @@ -20393,9 +20319,9 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull( Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -20407,7 +20333,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 : bool, dict, None, :class:`BinParams` + bin : Map, bool, 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 @@ -20428,14 +20354,14 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull( **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] + condition : Map, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -20450,7 +20376,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull( about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - legend : dict, None, :class:`Legend` + legend : Map, None, :class:`Legend` An object defining properties of the legend. If ``null``, the legend for the encoding channel will be removed. @@ -20459,7 +20385,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull( **See also:** `legend `__ documentation. - scale : dict, None, :class:`Scale` + scale : Map, 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. @@ -20472,7 +20398,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull( **See also:** `scale `__ documentation. - 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['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', 'x', 'y', 'color', 'fill', 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity', 'opacity', 'text'] + sort : Map, None, :class:`Sort`, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`AllSortString`, :class:`SortByChannel`, :class:`SortByEncoding`, :class:`EncodingSortField`, :class:`SortByChannelDesc`, Sequence[Map, :class:`DateTime`], Literal['-x', '-y', '-color', '-fill', '-stroke', '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity', '-opacity', '-text', 'ascending', 'descending', '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 @@ -20510,7 +20436,7 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull( **See also:** `sort `__ documentation. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -20613,28 +20539,26 @@ class FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull( def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - legend: Optional[dict | None | SchemaBase] = Undefined, - scale: Optional[dict | None | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + legend: Optional[Map | None | SchemaBase] = Undefined, + scale: Optional[Map | None | SchemaBase] = Undefined, sort: Optional[ - dict + Map | None | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] - | Sequence[dict | SchemaBase] + | Sequence[Map | SchemaBase] | AllSortString_T ] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | TypeForShape_T] = Undefined, @@ -20663,34 +20587,34 @@ class SharedEncoding(VegaLiteSchema): Parameters ---------- - angle : dict + angle : Map - color : dict + color : Map - description : dict + description : Map - detail : dict, :class:`FieldDefWithoutScale`, Sequence[dict, :class:`FieldDefWithoutScale`] + detail : Map, :class:`FieldDefWithoutScale`, Sequence[Map, :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 : Map - fillOpacity : dict + fillOpacity : Map - href : dict + href : Map - key : dict + key : Map - latitude : dict + latitude : Map - latitude2 : dict + latitude2 : Map - longitude : dict + longitude : Map - longitude2 : dict + longitude2 : Map - opacity : dict + opacity : Map - order : dict, :class:`OrderOnlyDef`, :class:`OrderFieldDef`, :class:`OrderValueDef`, Sequence[dict, :class:`OrderFieldDef`] + order : Map, :class:`OrderOnlyDef`, :class:`OrderFieldDef`, :class:`OrderValueDef`, Sequence[Map, :class:`OrderFieldDef`] Order of the marks. * For stacked marks, this ``order`` channel encodes `stack order @@ -20704,56 +20628,56 @@ class SharedEncoding(VegaLiteSchema): **Note**: In aggregate plots, ``order`` field should be ``aggregate``d to avoid creating additional aggregation grouping. - radius : dict + radius : Map - radius2 : dict + radius2 : Map - shape : dict + shape : Map - size : dict + size : Map - stroke : dict + stroke : Map - strokeDash : dict + strokeDash : Map - strokeOpacity : dict + strokeOpacity : Map - strokeWidth : dict + strokeWidth : Map - text : dict + text : Map - theta : dict + theta : Map - theta2 : dict + theta2 : Map - tooltip : dict, None, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition`, Sequence[dict, :class:`StringFieldDef`] + tooltip : Map, None, :class:`StringFieldDefWithCondition`, :class:`StringValueDefWithCondition`, Sequence[Map, :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 : Map - x : dict + x : Map - x2 : dict + x2 : Map - xError : dict + xError : Map - xError2 : dict + xError2 : Map - xOffset : dict + xOffset : Map - y : dict + y : Map - y2 : dict + y2 : Map - yError : dict + yError : Map - yError2 : dict + yError2 : Map - yOffset : dict + yOffset : Map """ @@ -20761,45 +20685,45 @@ class SharedEncoding(VegaLiteSchema): def __init__( self, - angle: Optional[dict] = Undefined, - color: Optional[dict] = Undefined, - description: Optional[dict] = Undefined, - detail: Optional[dict | SchemaBase | Sequence[dict | SchemaBase]] = Undefined, - fill: Optional[dict] = Undefined, - fillOpacity: Optional[dict] = Undefined, - href: Optional[dict] = Undefined, - key: Optional[dict] = Undefined, - latitude: Optional[dict] = Undefined, - latitude2: Optional[dict] = Undefined, - longitude: Optional[dict] = Undefined, - longitude2: Optional[dict] = Undefined, - opacity: Optional[dict] = Undefined, - order: Optional[dict | SchemaBase | Sequence[dict | SchemaBase]] = Undefined, - radius: Optional[dict] = Undefined, - radius2: Optional[dict] = Undefined, - shape: Optional[dict] = Undefined, - size: Optional[dict] = Undefined, - stroke: Optional[dict] = Undefined, - strokeDash: Optional[dict] = Undefined, - strokeOpacity: Optional[dict] = Undefined, - strokeWidth: Optional[dict] = Undefined, - text: Optional[dict] = Undefined, - theta: Optional[dict] = Undefined, - theta2: Optional[dict] = Undefined, + angle: Optional[Map] = Undefined, + color: Optional[Map] = Undefined, + description: Optional[Map] = Undefined, + detail: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + fill: Optional[Map] = Undefined, + fillOpacity: Optional[Map] = Undefined, + href: Optional[Map] = Undefined, + key: Optional[Map] = Undefined, + latitude: Optional[Map] = Undefined, + latitude2: Optional[Map] = Undefined, + longitude: Optional[Map] = Undefined, + longitude2: Optional[Map] = Undefined, + opacity: Optional[Map] = Undefined, + order: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + radius: Optional[Map] = Undefined, + radius2: Optional[Map] = Undefined, + shape: Optional[Map] = Undefined, + size: Optional[Map] = Undefined, + stroke: Optional[Map] = Undefined, + strokeDash: Optional[Map] = Undefined, + strokeOpacity: Optional[Map] = Undefined, + strokeWidth: Optional[Map] = Undefined, + text: Optional[Map] = Undefined, + theta: Optional[Map] = Undefined, + theta2: Optional[Map] = Undefined, tooltip: Optional[ - dict | None | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - url: Optional[dict] = Undefined, - x: Optional[dict] = Undefined, - x2: Optional[dict] = Undefined, - xError: Optional[dict] = Undefined, - xError2: Optional[dict] = Undefined, - xOffset: Optional[dict] = Undefined, - y: Optional[dict] = Undefined, - y2: Optional[dict] = Undefined, - yError: Optional[dict] = Undefined, - yError2: Optional[dict] = Undefined, - yOffset: Optional[dict] = Undefined, + Map | None | SchemaBase | Sequence[Map | SchemaBase] + ] = Undefined, + url: Optional[Map] = Undefined, + x: Optional[Map] = Undefined, + x2: Optional[Map] = Undefined, + xError: Optional[Map] = Undefined, + xError2: Optional[Map] = Undefined, + xOffset: Optional[Map] = Undefined, + y: Optional[Map] = Undefined, + y2: Optional[Map] = Undefined, + yError: Optional[Map] = Undefined, + yError2: Optional[Map] = Undefined, + yOffset: Optional[Map] = Undefined, **kwds, ): super().__init__( @@ -20879,7 +20803,7 @@ class EncodingSortField(Sort): Parameters ---------- - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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 @@ -20905,7 +20829,7 @@ class EncodingSortField(Sort): def __init__( self, - field: Optional[str | dict | SchemaBase] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, op: Optional[SchemaBase | NonArgAggregateOp_T] = Undefined, order: Optional[None | SchemaBase | SortOrder_T] = Undefined, **kwds, @@ -21022,9 +20946,9 @@ class ConcatSpecGenericSpec(Spec, NonNormalizedSpec): Parameters ---------- - concat : Sequence[dict, :class:`Spec`, :class:`FacetSpec`, :class:`LayerSpec`, :class:`RepeatSpec`, :class:`FacetedUnitSpec`, :class:`LayerRepeatSpec`, :class:`NonLayerRepeatSpec`, :class:`ConcatSpecGenericSpec`, :class:`HConcatSpecGenericSpec`, :class:`VConcatSpecGenericSpec`] + concat : Sequence[Map, :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 : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] + align : Map, :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"``. @@ -21051,7 +20975,7 @@ class ConcatSpecGenericSpec(Spec, NonNormalizedSpec): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : bool, dict, :class:`RowColboolean` + center : Map, bool, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -21076,16 +21000,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 : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : dict, :class:`Resolve` + resolve : Map, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - spacing : dict, float, :class:`RowColnumber` + spacing : Map, 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. @@ -21093,9 +21017,9 @@ class ConcatSpecGenericSpec(Spec, NonNormalizedSpec): **Default value**: Depends on ``"spacing"`` property of `the view composition configuration `__ (``20`` by default) - title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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. """ @@ -21103,18 +21027,18 @@ class ConcatSpecGenericSpec(Spec, NonNormalizedSpec): def __init__( self, - concat: Optional[Sequence[dict | SchemaBase]] = Undefined, - align: Optional[dict | SchemaBase | LayoutAlign_T] = Undefined, + concat: Optional[Sequence[Map | SchemaBase]] = Undefined, + align: Optional[Map | SchemaBase | LayoutAlign_T] = Undefined, bounds: Optional[Literal["full", "flush"]] = Undefined, - center: Optional[bool | dict | SchemaBase] = Undefined, + center: Optional[Map | bool | SchemaBase] = Undefined, columns: Optional[float] = Undefined, - data: Optional[dict | None | SchemaBase] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, description: Optional[str] = Undefined, name: Optional[str] = Undefined, - resolve: Optional[dict | SchemaBase] = Undefined, - spacing: Optional[dict | float | SchemaBase] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, + resolve: Optional[Map | SchemaBase] = Undefined, + spacing: Optional[Map | float | SchemaBase] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__( @@ -21142,15 +21066,15 @@ class FacetSpec(Spec, NonNormalizedSpec): Parameters ---------- - facet : dict, :class:`FacetMapping`, :class:`FacetFieldDef` + facet : Map, :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 : dict, :class:`LayerSpec`, :class:`FacetedUnitSpec` + spec : Map, :class:`LayerSpec`, :class:`FacetedUnitSpec` A specification of the view that gets faceted. - align : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] + align : Map, :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"``. @@ -21177,7 +21101,7 @@ class FacetSpec(Spec, NonNormalizedSpec): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : bool, dict, :class:`RowColboolean` + center : Map, bool, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -21202,16 +21126,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 : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : dict, :class:`Resolve` + resolve : Map, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - spacing : dict, float, :class:`RowColnumber` + spacing : Map, 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. @@ -21219,9 +21143,9 @@ class FacetSpec(Spec, NonNormalizedSpec): **Default value**: Depends on ``"spacing"`` property of `the view composition configuration `__ (``20`` by default) - title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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. """ @@ -21229,19 +21153,19 @@ class FacetSpec(Spec, NonNormalizedSpec): def __init__( self, - facet: Optional[dict | SchemaBase] = Undefined, - spec: Optional[dict | SchemaBase] = Undefined, - align: Optional[dict | SchemaBase | LayoutAlign_T] = Undefined, + facet: Optional[Map | SchemaBase] = Undefined, + spec: Optional[Map | SchemaBase] = Undefined, + align: Optional[Map | SchemaBase | LayoutAlign_T] = Undefined, bounds: Optional[Literal["full", "flush"]] = Undefined, - center: Optional[bool | dict | SchemaBase] = Undefined, + center: Optional[Map | bool | SchemaBase] = Undefined, columns: Optional[float] = Undefined, - data: Optional[dict | None | SchemaBase] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, description: Optional[str] = Undefined, name: Optional[str] = Undefined, - resolve: Optional[dict | SchemaBase] = Undefined, - spacing: Optional[dict | float | SchemaBase] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, + resolve: Optional[Map | SchemaBase] = Undefined, + spacing: Optional[Map | float | SchemaBase] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__( @@ -21271,12 +21195,12 @@ class FacetedUnitSpec(Spec, NonNormalizedSpec): Parameters ---------- - mark : 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', 'boxplot', 'errorband', 'errorbar'] + mark : Map, :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', 'boxplot', 'errorband', 'errorbar'] 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 : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] + align : Map, :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"``. @@ -21303,7 +21227,7 @@ class FacetedUnitSpec(Spec, NonNormalizedSpec): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : bool, dict, :class:`RowColboolean` + center : Map, bool, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -21311,14 +21235,14 @@ class FacetedUnitSpec(Spec, NonNormalizedSpec): supply different centering values for rows and columns. **Default value:** ``false`` - data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : dict, :class:`FacetedEncoding` + encoding : Map, :class:`FacetedEncoding` A key-value mapping between encoding channels and definition of fields. - height : dict, float, :class:`Step`, Literal['container'] + height : Map, float, :class:`Step`, Literal['container'] The height of a visualization. * For a plot with a continuous y-field, height should be a number. @@ -21339,16 +21263,16 @@ class FacetedUnitSpec(Spec, NonNormalizedSpec): documentation. name : str Name of the visualization for later reference. - params : Sequence[dict, :class:`SelectionParameter`] + params : Sequence[Map, :class:`SelectionParameter`] An array of parameters that may either be simple variables, or more complex selections that map user input to data queries. - projection : dict, :class:`Projection` + projection : Map, :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 : dict, :class:`Resolve` + resolve : Map, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - spacing : dict, float, :class:`RowColnumber` + spacing : Map, 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. @@ -21356,15 +21280,15 @@ class FacetedUnitSpec(Spec, NonNormalizedSpec): **Default value**: Depends on ``"spacing"`` property of `the view composition configuration `__ (``20`` by default) - title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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 : dict, :class:`ViewBackground` + view : Map, :class:`ViewBackground` An object defining the view background's fill and stroke. **Default value:** none (transparent) - width : dict, float, :class:`Step`, Literal['container'] + width : Map, float, :class:`Step`, Literal['container'] The width of a visualization. * For a plot with a continuous x-field, width should be a number. @@ -21389,23 +21313,23 @@ class FacetedUnitSpec(Spec, NonNormalizedSpec): def __init__( self, - mark: Optional[dict | SchemaBase | Mark_T | CompositeMark_T] = Undefined, - align: Optional[dict | SchemaBase | LayoutAlign_T] = Undefined, + mark: Optional[Map | SchemaBase | Mark_T | CompositeMark_T] = Undefined, + align: Optional[Map | SchemaBase | LayoutAlign_T] = Undefined, bounds: Optional[Literal["full", "flush"]] = Undefined, - center: Optional[bool | dict | SchemaBase] = Undefined, - data: Optional[dict | None | SchemaBase] = Undefined, + center: Optional[Map | bool | SchemaBase] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, description: Optional[str] = Undefined, - encoding: Optional[dict | SchemaBase] = Undefined, - height: Optional[dict | float | SchemaBase | Literal["container"]] = Undefined, + encoding: Optional[Map | SchemaBase] = Undefined, + height: Optional[Map | float | SchemaBase | Literal["container"]] = Undefined, name: Optional[str] = Undefined, - params: Optional[Sequence[dict | SchemaBase]] = Undefined, - projection: Optional[dict | SchemaBase] = Undefined, - resolve: Optional[dict | SchemaBase] = Undefined, - spacing: Optional[dict | float | SchemaBase] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, - view: Optional[dict | SchemaBase] = Undefined, - width: Optional[dict | float | SchemaBase | Literal["container"]] = Undefined, + params: Optional[Sequence[Map | SchemaBase]] = Undefined, + projection: Optional[Map | SchemaBase] = Undefined, + resolve: Optional[Map | SchemaBase] = Undefined, + spacing: Optional[Map | float | SchemaBase] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, + view: Optional[Map | SchemaBase] = Undefined, + width: Optional[Map | float | SchemaBase | Literal["container"]] = Undefined, **kwds, ): super().__init__( @@ -21438,7 +21362,7 @@ class HConcatSpecGenericSpec(Spec, NonNormalizedSpec): Parameters ---------- - hconcat : Sequence[dict, :class:`Spec`, :class:`FacetSpec`, :class:`LayerSpec`, :class:`RepeatSpec`, :class:`FacetedUnitSpec`, :class:`LayerRepeatSpec`, :class:`NonLayerRepeatSpec`, :class:`ConcatSpecGenericSpec`, :class:`HConcatSpecGenericSpec`, :class:`VConcatSpecGenericSpec`] + hconcat : Sequence[Map, :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 @@ -21456,22 +21380,22 @@ class HConcatSpecGenericSpec(Spec, NonNormalizedSpec): rows or columns. **Default value:** ``false`` - data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : dict, :class:`Resolve` + resolve : Map, :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 : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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. """ @@ -21479,16 +21403,16 @@ class HConcatSpecGenericSpec(Spec, NonNormalizedSpec): def __init__( self, - hconcat: Optional[Sequence[dict | SchemaBase]] = Undefined, + hconcat: Optional[Sequence[Map | SchemaBase]] = Undefined, bounds: Optional[Literal["full", "flush"]] = Undefined, center: Optional[bool] = Undefined, - data: Optional[dict | None | SchemaBase] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, description: Optional[str] = Undefined, name: Optional[str] = Undefined, - resolve: Optional[dict | SchemaBase] = Undefined, + resolve: Optional[Map | SchemaBase] = Undefined, spacing: Optional[float] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__( @@ -21515,22 +21439,22 @@ class LayerSpec(Spec, NonNormalizedSpec): Parameters ---------- - layer : Sequence[dict, :class:`UnitSpec`, :class:`LayerSpec`] + layer : Sequence[Map, :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 : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : dict, :class:`SharedEncoding` + encoding : Map, :class:`SharedEncoding` A shared key-value mapping between encoding channels and definition of fields in the underlying layers. - height : dict, float, :class:`Step`, Literal['container'] + height : Map, float, :class:`Step`, Literal['container'] The height of a visualization. * For a plot with a continuous y-field, height should be a number. @@ -21551,20 +21475,20 @@ class LayerSpec(Spec, NonNormalizedSpec): documentation. name : str Name of the visualization for later reference. - projection : dict, :class:`Projection` + projection : Map, :class:`Projection` An object defining properties of the geographic projection shared by underlying layers. - resolve : dict, :class:`Resolve` + resolve : Map, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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 : dict, :class:`ViewBackground` + view : Map, :class:`ViewBackground` An object defining the view background's fill and stroke. **Default value:** none (transparent) - width : dict, float, :class:`Step`, Literal['container'] + width : Map, float, :class:`Step`, Literal['container'] The width of a visualization. * For a plot with a continuous x-field, width should be a number. @@ -21589,18 +21513,18 @@ class LayerSpec(Spec, NonNormalizedSpec): def __init__( self, - layer: Optional[Sequence[dict | SchemaBase]] = Undefined, - data: Optional[dict | None | SchemaBase] = Undefined, + layer: Optional[Sequence[Map | SchemaBase]] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, description: Optional[str] = Undefined, - encoding: Optional[dict | SchemaBase] = Undefined, - height: Optional[dict | float | SchemaBase | Literal["container"]] = Undefined, + encoding: Optional[Map | SchemaBase] = Undefined, + height: Optional[Map | float | SchemaBase | Literal["container"]] = Undefined, name: Optional[str] = Undefined, - projection: Optional[dict | SchemaBase] = Undefined, - resolve: Optional[dict | SchemaBase] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, - view: Optional[dict | SchemaBase] = Undefined, - width: Optional[dict | float | SchemaBase | Literal["container"]] = Undefined, + projection: Optional[Map | SchemaBase] = Undefined, + resolve: Optional[Map | SchemaBase] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, + view: Optional[Map | SchemaBase] = Undefined, + width: Optional[Map | float | SchemaBase | Literal["container"]] = Undefined, **kwds, ): super().__init__( @@ -21635,7 +21559,7 @@ class LayerRepeatSpec(RepeatSpec): Parameters ---------- - repeat : dict, :class:`LayerRepeatMapping` + repeat : Map, :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 @@ -21643,9 +21567,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 : dict, :class:`LayerSpec`, :class:`UnitSpecWithFrame` + spec : Map, :class:`LayerSpec`, :class:`UnitSpecWithFrame` A specification of the view that gets repeated. - align : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] + align : Map, :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"``. @@ -21672,7 +21596,7 @@ class LayerRepeatSpec(RepeatSpec): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : bool, dict, :class:`RowColboolean` + center : Map, bool, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -21697,16 +21621,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 : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : dict, :class:`Resolve` + resolve : Map, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - spacing : dict, float, :class:`RowColnumber` + spacing : Map, 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. @@ -21714,9 +21638,9 @@ class LayerRepeatSpec(RepeatSpec): **Default value**: Depends on ``"spacing"`` property of `the view composition configuration `__ (``20`` by default) - title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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. """ @@ -21724,19 +21648,19 @@ class LayerRepeatSpec(RepeatSpec): def __init__( self, - repeat: Optional[dict | SchemaBase] = Undefined, - spec: Optional[dict | SchemaBase] = Undefined, - align: Optional[dict | SchemaBase | LayoutAlign_T] = Undefined, + repeat: Optional[Map | SchemaBase] = Undefined, + spec: Optional[Map | SchemaBase] = Undefined, + align: Optional[Map | SchemaBase | LayoutAlign_T] = Undefined, bounds: Optional[Literal["full", "flush"]] = Undefined, - center: Optional[bool | dict | SchemaBase] = Undefined, + center: Optional[Map | bool | SchemaBase] = Undefined, columns: Optional[float] = Undefined, - data: Optional[dict | None | SchemaBase] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, description: Optional[str] = Undefined, name: Optional[str] = Undefined, - resolve: Optional[dict | SchemaBase] = Undefined, - spacing: Optional[dict | float | SchemaBase] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, + resolve: Optional[Map | SchemaBase] = Undefined, + spacing: Optional[Map | float | SchemaBase] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__( @@ -21765,7 +21689,7 @@ class NonLayerRepeatSpec(RepeatSpec): Parameters ---------- - repeat : dict, Sequence[str], :class:`RepeatMapping` + repeat : Map, 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 @@ -21773,9 +21697,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 : dict, :class:`FacetSpec`, :class:`LayerSpec`, :class:`RepeatSpec`, :class:`FacetedUnitSpec`, :class:`LayerRepeatSpec`, :class:`NonNormalizedSpec`, :class:`NonLayerRepeatSpec`, :class:`ConcatSpecGenericSpec`, :class:`HConcatSpecGenericSpec`, :class:`VConcatSpecGenericSpec` + spec : Map, :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 : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] + align : Map, :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"``. @@ -21802,7 +21726,7 @@ class NonLayerRepeatSpec(RepeatSpec): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : bool, dict, :class:`RowColboolean` + center : Map, bool, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -21827,16 +21751,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 : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : dict, :class:`Resolve` + resolve : Map, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - spacing : dict, float, :class:`RowColnumber` + spacing : Map, 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. @@ -21844,9 +21768,9 @@ class NonLayerRepeatSpec(RepeatSpec): **Default value**: Depends on ``"spacing"`` property of `the view composition configuration `__ (``20`` by default) - title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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. """ @@ -21854,19 +21778,19 @@ class NonLayerRepeatSpec(RepeatSpec): def __init__( self, - repeat: Optional[dict | SchemaBase | Sequence[str]] = Undefined, - spec: Optional[dict | SchemaBase] = Undefined, - align: Optional[dict | SchemaBase | LayoutAlign_T] = Undefined, + repeat: Optional[Map | SchemaBase | Sequence[str]] = Undefined, + spec: Optional[Map | SchemaBase] = Undefined, + align: Optional[Map | SchemaBase | LayoutAlign_T] = Undefined, bounds: Optional[Literal["full", "flush"]] = Undefined, - center: Optional[bool | dict | SchemaBase] = Undefined, + center: Optional[Map | bool | SchemaBase] = Undefined, columns: Optional[float] = Undefined, - data: Optional[dict | None | SchemaBase] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, description: Optional[str] = Undefined, name: Optional[str] = Undefined, - resolve: Optional[dict | SchemaBase] = Undefined, - spacing: Optional[dict | float | SchemaBase] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, + resolve: Optional[Map | SchemaBase] = Undefined, + spacing: Optional[Map | float | SchemaBase] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__( @@ -21893,7 +21817,7 @@ class SphereGenerator(Generator): Parameters ---------- - sphere : dict, Literal[True] + sphere : Map, Literal[True] Generate sphere GeoJSON data for the full globe. name : str Provide a placeholder name and bind data at runtime. @@ -21903,7 +21827,7 @@ class SphereGenerator(Generator): def __init__( self, - sphere: Optional[dict | Literal[True]] = Undefined, + sphere: Optional[Map | Literal[True]] = Undefined, name: Optional[str] = Undefined, **kwds, ): @@ -21971,9 +21895,9 @@ class DerivedStream(Stream): Parameters ---------- - stream : dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` + stream : Map, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream` - between : Sequence[dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream`] + between : Sequence[Map, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream`] consume : bool @@ -21993,8 +21917,8 @@ class DerivedStream(Stream): def __init__( self, - stream: Optional[dict | SchemaBase] = Undefined, - between: Optional[Sequence[dict | SchemaBase]] = Undefined, + stream: Optional[Map | SchemaBase] = Undefined, + between: Optional[Sequence[Map | SchemaBase]] = Undefined, consume: Optional[bool] = Undefined, debounce: Optional[float] = Undefined, filter: Optional[str | SchemaBase | Sequence[str | SchemaBase]] = Undefined, @@ -22031,9 +21955,9 @@ class MergedStream(Stream): Parameters ---------- - merge : Sequence[dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream`] + merge : Sequence[Map, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream`] - between : Sequence[dict, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream`] + between : Sequence[Map, :class:`Stream`, :class:`EventStream`, :class:`MergedStream`, :class:`DerivedStream`] consume : bool @@ -22053,8 +21977,8 @@ class MergedStream(Stream): def __init__( self, - merge: Optional[Sequence[dict | SchemaBase]] = Undefined, - between: Optional[Sequence[dict | SchemaBase]] = Undefined, + merge: Optional[Sequence[Map | SchemaBase]] = Undefined, + between: Optional[Sequence[Map | SchemaBase]] = Undefined, consume: Optional[bool] = Undefined, debounce: Optional[float] = Undefined, filter: Optional[str | SchemaBase | Sequence[str | SchemaBase]] = Undefined, @@ -22082,7 +22006,7 @@ class StringFieldDef(VegaLiteSchema): Parameters ---------- - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -22094,7 +22018,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -22115,7 +22039,7 @@ class StringFieldDef(VegaLiteSchema): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -22130,7 +22054,7 @@ class StringFieldDef(VegaLiteSchema): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -22162,7 +22086,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 : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -22263,14 +22187,14 @@ class StringFieldDef(VegaLiteSchema): def __init__( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -22296,9 +22220,9 @@ class StringFieldDefWithCondition(VegaLiteSchema): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -22310,7 +22234,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -22331,14 +22255,14 @@ class StringFieldDefWithCondition(VegaLiteSchema): **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`] + condition : Map, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -22353,7 +22277,7 @@ class StringFieldDefWithCondition(VegaLiteSchema): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -22385,7 +22309,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 : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -22486,18 +22410,16 @@ class StringFieldDefWithCondition(VegaLiteSchema): def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -22525,9 +22447,9 @@ class StringValueDefWithCondition(VegaLiteSchema): Parameters ---------- - condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] + condition : Map, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[Map, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : str, dict, None, :class:`ExprRef` + value : Map, str, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -22537,10 +22459,8 @@ class StringValueDefWithCondition(VegaLiteSchema): def __init__( self, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__(condition=condition, value=value, **kwds) @@ -22570,43 +22490,43 @@ class StyleConfigIndex(VegaLiteSchema): Parameters ---------- - arc : dict, :class:`RectConfig` + arc : Map, :class:`RectConfig` Arc-specific Config - area : dict, :class:`AreaConfig` + area : Map, :class:`AreaConfig` Area-Specific Config - bar : dict, :class:`BarConfig` + bar : Map, :class:`BarConfig` Bar-Specific Config - circle : dict, :class:`MarkConfig` + circle : Map, :class:`MarkConfig` Circle-Specific Config - geoshape : dict, :class:`MarkConfig` + geoshape : Map, :class:`MarkConfig` Geoshape-Specific Config - image : dict, :class:`RectConfig` + image : Map, :class:`RectConfig` Image-specific Config - line : dict, :class:`LineConfig` + line : Map, :class:`LineConfig` Line-Specific Config - mark : dict, :class:`MarkConfig` + mark : Map, :class:`MarkConfig` Mark Config - point : dict, :class:`MarkConfig` + point : Map, :class:`MarkConfig` Point-Specific Config - rect : dict, :class:`RectConfig` + rect : Map, :class:`RectConfig` Rect-Specific Config - rule : dict, :class:`MarkConfig` + rule : Map, :class:`MarkConfig` Rule-Specific Config - square : dict, :class:`MarkConfig` + square : Map, :class:`MarkConfig` Square-Specific Config - text : dict, :class:`MarkConfig` + text : Map, :class:`MarkConfig` Text-Specific Config - tick : dict, :class:`TickConfig` + tick : Map, :class:`TickConfig` Tick-Specific Config - trail : dict, :class:`LineConfig` + trail : Map, :class:`LineConfig` Trail-Specific Config - group-subtitle : dict, :class:`MarkConfig` + group-subtitle : Map, :class:`MarkConfig` Default style for chart subtitles - group-title : dict, :class:`MarkConfig` + group-title : Map, :class:`MarkConfig` Default style for chart titles - guide-label : dict, :class:`MarkConfig` + guide-label : Map, :class:`MarkConfig` Default style for axis, legend, and header labels. - guide-title : dict, :class:`MarkConfig` + guide-title : Map, :class:`MarkConfig` Default style for axis, legend, and header titles. """ @@ -22614,21 +22534,21 @@ class StyleConfigIndex(VegaLiteSchema): def __init__( self, - arc: Optional[dict | SchemaBase] = Undefined, - area: Optional[dict | SchemaBase] = Undefined, - bar: Optional[dict | SchemaBase] = Undefined, - circle: Optional[dict | SchemaBase] = Undefined, - geoshape: Optional[dict | SchemaBase] = Undefined, - image: Optional[dict | SchemaBase] = Undefined, - line: Optional[dict | SchemaBase] = Undefined, - mark: Optional[dict | SchemaBase] = Undefined, - point: Optional[dict | SchemaBase] = Undefined, - rect: Optional[dict | SchemaBase] = Undefined, - rule: Optional[dict | SchemaBase] = Undefined, - square: Optional[dict | SchemaBase] = Undefined, - text: Optional[dict | SchemaBase] = Undefined, - tick: Optional[dict | SchemaBase] = Undefined, - trail: Optional[dict | SchemaBase] = Undefined, + arc: Optional[Map | SchemaBase] = Undefined, + area: Optional[Map | SchemaBase] = Undefined, + bar: Optional[Map | SchemaBase] = Undefined, + circle: Optional[Map | SchemaBase] = Undefined, + geoshape: Optional[Map | SchemaBase] = Undefined, + image: Optional[Map | SchemaBase] = Undefined, + line: Optional[Map | SchemaBase] = Undefined, + mark: Optional[Map | SchemaBase] = Undefined, + point: Optional[Map | SchemaBase] = Undefined, + rect: Optional[Map | SchemaBase] = Undefined, + rule: Optional[Map | SchemaBase] = Undefined, + square: Optional[Map | SchemaBase] = Undefined, + text: Optional[Map | SchemaBase] = Undefined, + tick: Optional[Map | SchemaBase] = Undefined, + trail: Optional[Map | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -22706,16 +22626,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 : dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`] + condition : Map, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[Map, :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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` + datum : Map, str, bool, None, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue` A constant value in data domain. - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -22842,13 +22762,11 @@ class FieldOrDatumDefWithConditionStringDatumDefText(TextDef): def __init__( self, bandPosition: Optional[float] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, datum: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | Type_T] = Undefined, @@ -22872,9 +22790,9 @@ class FieldOrDatumDefWithConditionStringFieldDefText(TextDef): Parameters ---------- - shorthand : str, dict, Sequence[str], :class:`RepeatRef` + shorthand : Map, str, Sequence[str], :class:`RepeatRef` shorthand for field, aggregate, and type - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -22886,7 +22804,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -22907,14 +22825,14 @@ class FieldOrDatumDefWithConditionStringFieldDefText(TextDef): **See also:** `bin `__ documentation. - condition : dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`] + condition : Map, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[Map, :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 : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -22929,7 +22847,7 @@ class FieldOrDatumDefWithConditionStringFieldDefText(TextDef): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - format : str, dict, :class:`Dict` + format : Map, str, :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. @@ -22961,7 +22879,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 : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -23064,18 +22982,16 @@ class FieldOrDatumDefWithConditionStringFieldDefText(TextDef): def __init__( self, - shorthand: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + shorthand: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, - format: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, + format: Optional[Map | str | SchemaBase] = Undefined, formatType: Optional[str] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -23112,37 +23028,37 @@ class TickConfig(AnyMarkConfig): Parameters ---------- - align : dict, :class:`Align`, :class:`ExprRef`, Literal['left', 'center', 'right'] + align : Map, :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 : dict, float, :class:`ExprRef` + angle : Map, float, :class:`ExprRef` The rotation angle of the text, in degrees. - aria : bool, dict, :class:`ExprRef` + aria : Map, bool, :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 : str, dict, :class:`ExprRef` + ariaRole : Map, str, :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 : str, dict, :class:`ExprRef` + ariaRoleDescription : Map, str, :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 : bool, dict, :class:`ExprRef` + aspect : Map, bool, :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 : dict, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', 'top', 'middle', 'bottom'] + baseline : Map, :class:`ExprRef`, :class:`Baseline`, :class:`TextBaseline`, Literal['alphabetic', 'line-bottom', 'line-top', '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 @@ -23153,13 +23069,13 @@ class TickConfig(AnyMarkConfig): ``"middle"``, ``"bottom"``. **Note:** Expression reference is *not* supported for range marks. - 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'] + blend : Map, :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 : 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'] + color : Map, str, :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:`` ■ :raw-html:`` @@ -23171,59 +23087,59 @@ class TickConfig(AnyMarkConfig): `__. * The ``fill`` and ``stroke`` properties have higher precedence than ``color`` and will override ``color``. - cornerRadius : dict, float, :class:`ExprRef` + cornerRadius : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles or arcs' corners. **Default value:** ``0`` - cornerRadiusBottomLeft : dict, float, :class:`ExprRef` + cornerRadiusBottomLeft : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom left corner. **Default value:** ``0`` - cornerRadiusBottomRight : dict, float, :class:`ExprRef` + cornerRadiusBottomRight : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' bottom right corner. **Default value:** ``0`` - cornerRadiusTopLeft : dict, float, :class:`ExprRef` + cornerRadiusTopLeft : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top right corner. **Default value:** ``0`` - cornerRadiusTopRight : dict, float, :class:`ExprRef` + cornerRadiusTopRight : Map, float, :class:`ExprRef` The radius in pixels of rounded rectangles' top left corner. **Default value:** ``0`` - 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'] + cursor : Map, :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 : str, dict, :class:`ExprRef` + description : Map, str, :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 : dict, :class:`ExprRef`, :class:`TextDirection`, Literal['ltr', 'rtl'] + dir : Map, :class:`ExprRef`, :class:`TextDirection`, Literal['ltr', 'rtl'] 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 : dict, float, :class:`ExprRef` + dx : Map, 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 : dict, float, :class:`ExprRef` + dy : Map, 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 : str, dict, :class:`ExprRef` + ellipsis : Map, str, :class:`ExprRef` The ellipsis string for text truncated in response to the limit parameter. **Default value:** ``"…"`` - endAngle : dict, float, :class:`ExprRef` + endAngle : Map, float, :class:`ExprRef` The end angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - 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'] + fill : Map, str, 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 : dict, float, :class:`ExprRef` + fillOpacity : Map, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` @@ -23237,28 +23153,28 @@ class TickConfig(AnyMarkConfig): **Note:** This property cannot be used in a `style config `__. - font : str, dict, :class:`ExprRef` + font : Map, str, :class:`ExprRef` The typeface to set the text in (e.g., ``"Helvetica Neue"``). - fontSize : dict, float, :class:`ExprRef` + fontSize : Map, float, :class:`ExprRef` The font size, in pixels. **Default value:** ``11`` - fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + fontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` The font style (e.g., ``"italic"``). - fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : Map, :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 : dict, float, :class:`ExprRef` + height : Map, float, :class:`ExprRef` Height of the marks. - href : str, dict, :class:`URI`, :class:`ExprRef` + href : Map, str, :class:`URI`, :class:`ExprRef` A URL to load upon mouse click. If defined, the mark acts as a hyperlink. - innerRadius : dict, float, :class:`ExprRef` + innerRadius : Map, float, :class:`ExprRef` The inner radius in pixels of arc marks. ``innerRadius`` is an alias for ``radius2``. **Default value:** ``0`` - 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'] + interpolate : Map, :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: * ``"linear"``: piecewise linear segments, as in a polyline. @@ -23310,18 +23226,18 @@ class TickConfig(AnyMarkConfig): ``config.scale.invalid``, all values for the scales will be considered "valid" since they can produce a reasonable output for the scales. Thus, fields for such channels will not be filtered and will not cause path breaks. - limit : dict, float, :class:`ExprRef` + limit : Map, 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 : str, dict, :class:`ExprRef` + lineBreak : Map, str, :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 : dict, float, :class:`ExprRef` + lineHeight : Map, float, :class:`ExprRef` The line height in pixels (the spacing between subsequent lines of text) for multi-line text marks. - opacity : dict, float, :class:`ExprRef` + opacity : Map, float, :class:`ExprRef` The overall opacity (value between [0,1]). **Default value:** ``0.7`` for non-aggregate plots with ``point``, ``tick``, @@ -23340,24 +23256,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 : dict, float, :class:`ExprRef` + outerRadius : Map, float, :class:`ExprRef` The outer radius in pixels of arc marks. ``outerRadius`` is an alias for ``radius``. **Default value:** ``0`` - padAngle : dict, float, :class:`ExprRef` + padAngle : Map, float, :class:`ExprRef` The angular padding applied to sides of the arc, in radians. - radius : dict, float, :class:`ExprRef` + radius : Map, 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 : dict, float, :class:`ExprRef` + radius2 : Map, float, :class:`ExprRef` The secondary (inner) radius in pixels of arc marks. **Default value:** ``0`` - shape : str, dict, :class:`ExprRef`, :class:`SymbolShape` + shape : Map, str, :class:`ExprRef`, :class:`SymbolShape` Shape of the point marks. Supported values include: * plotting shapes: ``"circle"``, ``"square"``, ``"cross"``, ``"diamond"``, @@ -23371,7 +23287,7 @@ class TickConfig(AnyMarkConfig): coordinates ranging from -1 to 1 along both the x and y dimensions.) **Default value:** ``"circle"`` - size : dict, float, :class:`ExprRef` + size : Map, float, :class:`ExprRef` Default size for marks. * For ``point``/``circle``/``square``, this represents the pixel area of the marks. @@ -23386,56 +23302,56 @@ class TickConfig(AnyMarkConfig): * ``2`` for bar marks with discrete dimensions; * ``5`` for bar marks with continuous dimensions; * ``11`` for text marks. - smooth : bool, dict, :class:`ExprRef` + smooth : Map, bool, :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 : dict, float, :class:`ExprRef` + startAngle : Map, float, :class:`ExprRef` The start angle in radians for arc marks. A value of ``0`` indicates up (north), increasing values proceed clockwise. - 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'] + stroke : Map, str, 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 : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : Map, :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 : dict, Sequence[float], :class:`ExprRef` + strokeDash : Map, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : dict, float, :class:`ExprRef` + strokeDashOffset : Map, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : Map, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : dict, float, :class:`ExprRef` + strokeMiterLimit : Map, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOffset : dict, float, :class:`ExprRef` + strokeOffset : Map, 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 : dict, float, :class:`ExprRef` + strokeOpacity : Map, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : dict, float, :class:`ExprRef` + strokeWidth : Map, float, :class:`ExprRef` The stroke width, in pixels. - tension : dict, float, :class:`ExprRef` + tension : Map, float, :class:`ExprRef` Depending on the interpolation type, sets the tension parameter (for line and area marks). - text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` + text : Map, str, :class:`Text`, Sequence[str], :class:`ExprRef` Placeholder text if the ``text`` channel is not specified - theta : dict, float, :class:`ExprRef` + theta : Map, 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 : dict, float, :class:`ExprRef` + theta2 : Map, 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 @@ -23450,7 +23366,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 : str, bool, dict, None, float, :class:`ExprRef`, :class:`TooltipContent` + tooltip : Map, str, bool, 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. @@ -23464,28 +23380,28 @@ class TickConfig(AnyMarkConfig): documentation for a detailed discussion about tooltip in Vega-Lite. **Default value:** ``null`` - url : str, dict, :class:`URI`, :class:`ExprRef` + url : Map, str, :class:`URI`, :class:`ExprRef` The URL of the image file for image marks. - width : dict, float, :class:`ExprRef` + width : Map, float, :class:`ExprRef` Width of the marks. - x : dict, float, :class:`ExprRef`, Literal['width'] + x : Map, float, :class:`ExprRef`, Literal['width'] 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 : dict, float, :class:`ExprRef`, Literal['width'] + x2 : Map, float, :class:`ExprRef`, Literal['width'] 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 : dict, float, :class:`ExprRef`, Literal['height'] + y : Map, float, :class:`ExprRef`, Literal['height'] 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 : dict, float, :class:`ExprRef`, Literal['height'] + y2 : Map, float, :class:`ExprRef`, Literal['height'] Y2 coordinates for ranged ``"area"``, ``"bar"``, ``"rect"``, and ``"rule"``. The ``value`` of this channel can be a number or a string ``"height"`` for the @@ -23496,102 +23412,98 @@ class TickConfig(AnyMarkConfig): def __init__( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, bandSize: Optional[float] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, - endAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, + endAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - startAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + startAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, thickness: Optional[float] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, **kwds, ): @@ -23896,13 +23808,13 @@ class TitleConfig(VegaLiteSchema): align : :class:`Align`, Literal['left', 'center', 'right'] Horizontal text alignment for title text. One of ``"left"``, ``"center"``, or ``"right"``. - anchor : dict, :class:`ExprRef`, :class:`TitleAnchor`, Literal[None, 'start', 'middle', 'end'] + anchor : Map, :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 : dict, float, :class:`ExprRef` + angle : Map, float, :class:`ExprRef` Angle in degrees of title and subtitle text. - aria : bool, dict, :class:`ExprRef` + aria : Map, bool, :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 @@ -23915,53 +23827,53 @@ class TitleConfig(VegaLiteSchema): ``"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 : 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 : Map, str, 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 : dict, float, :class:`ExprRef` + dx : Map, float, :class:`ExprRef` Delta offset for title and subtitle text x-coordinate. - dy : dict, float, :class:`ExprRef` + dy : Map, float, :class:`ExprRef` Delta offset for title and subtitle text y-coordinate. - font : str, dict, :class:`ExprRef` + font : Map, str, :class:`ExprRef` Font name for title text. - fontSize : dict, float, :class:`ExprRef` + fontSize : Map, float, :class:`ExprRef` Font size in pixels for title text. - fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + fontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` Font style for title text. - fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : Map, :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 : str, dict, :class:`ExprRef`, :class:`TitleFrame`, Literal['bounds', 'group'] + frame : Map, str, :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 : dict, float, :class:`ExprRef` + limit : Map, float, :class:`ExprRef` The maximum allowed length in pixels of title and subtitle text. - lineHeight : dict, float, :class:`ExprRef` + lineHeight : Map, float, :class:`ExprRef` Line height in pixels for multi-line title text or title text with ``"line-top"`` or ``"line-bottom"`` baseline. - offset : dict, float, :class:`ExprRef` + offset : Map, 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 : dict, :class:`ExprRef`, :class:`TitleOrient`, Literal['none', 'left', 'right', 'top', 'bottom'] + orient : Map, :class:`ExprRef`, :class:`TitleOrient`, Literal['none', 'left', 'right', 'top', 'bottom'] Default title orientation (``"top"``, ``"bottom"``, ``"left"``, or ``"right"``) - 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'] + subtitleColor : Map, str, 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 : str, dict, :class:`ExprRef` + subtitleFont : Map, str, :class:`ExprRef` Font name for subtitle text. - subtitleFontSize : dict, float, :class:`ExprRef` + subtitleFontSize : Map, float, :class:`ExprRef` Font size in pixels for subtitle text. - subtitleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + subtitleFontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` Font style for subtitle text. - subtitleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + subtitleFontWeight : Map, :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 : dict, float, :class:`ExprRef` + subtitleLineHeight : Map, float, :class:`ExprRef` Line height in pixels for multi-line subtitle text. - subtitlePadding : dict, float, :class:`ExprRef` + subtitlePadding : Map, float, :class:`ExprRef` The padding in pixels between title and subtitle text. - zindex : dict, float, :class:`ExprRef` + zindex : Map, float, :class:`ExprRef` The integer z-index indicating the layering of the title group relative to other axis, mark, and legend groups. @@ -23973,36 +23885,36 @@ class TitleConfig(VegaLiteSchema): def __init__( self, align: Optional[SchemaBase | Align_T] = Undefined, - anchor: Optional[dict | Parameter | SchemaBase | TitleAnchor_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + anchor: Optional[Map | Parameter | SchemaBase | TitleAnchor_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, baseline: Optional[SchemaBase | TextBaseline_T] = Undefined, color: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - frame: Optional[str | dict | Parameter | SchemaBase | TitleFrame_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - orient: Optional[dict | Parameter | SchemaBase | TitleOrient_T] = Undefined, + Map | str | None | Parameter | SchemaBase | ColorName_T + ] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + frame: Optional[Map | str | Parameter | SchemaBase | TitleFrame_T] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + orient: Optional[Map | Parameter | SchemaBase | TitleOrient_T] = Undefined, subtitleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - subtitleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - subtitleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - subtitleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + subtitleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + subtitleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + subtitleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, subtitleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - subtitleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - subtitlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - zindex: Optional[dict | float | Parameter | SchemaBase] = Undefined, + subtitleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + subtitlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + zindex: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -24059,7 +23971,7 @@ class TitleParams(VegaLiteSchema): Parameters ---------- - text : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` + text : Map, str, :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 @@ -24079,9 +23991,9 @@ class TitleParams(VegaLiteSchema): `__ and `layered `__ views. For other composite views, ``anchor`` is always ``"start"``. - angle : dict, float, :class:`ExprRef` + angle : Map, float, :class:`ExprRef` Angle in degrees of title and subtitle text. - aria : bool, dict, :class:`ExprRef` + aria : Map, bool, :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 @@ -24094,35 +24006,35 @@ class TitleParams(VegaLiteSchema): ``"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 : 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 : Map, str, 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 : dict, float, :class:`ExprRef` + dx : Map, float, :class:`ExprRef` Delta offset for title and subtitle text x-coordinate. - dy : dict, float, :class:`ExprRef` + dy : Map, float, :class:`ExprRef` Delta offset for title and subtitle text y-coordinate. - font : str, dict, :class:`ExprRef` + font : Map, str, :class:`ExprRef` Font name for title text. - fontSize : dict, float, :class:`ExprRef` + fontSize : Map, float, :class:`ExprRef` Font size in pixels for title text. - fontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + fontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` Font style for title text. - fontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + fontWeight : Map, :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 : str, dict, :class:`ExprRef`, :class:`TitleFrame`, Literal['bounds', 'group'] + frame : Map, str, :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 : dict, float, :class:`ExprRef` + limit : Map, float, :class:`ExprRef` The maximum allowed length in pixels of title and subtitle text. - lineHeight : dict, float, :class:`ExprRef` + lineHeight : Map, float, :class:`ExprRef` Line height in pixels for multi-line title text or title text with ``"line-top"`` or ``"line-bottom"`` baseline. - offset : dict, float, :class:`ExprRef` + offset : Map, 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 : dict, :class:`ExprRef`, :class:`TitleOrient`, Literal['none', 'left', 'right', 'top', 'bottom'] + orient : Map, :class:`ExprRef`, :class:`TitleOrient`, Literal['none', 'left', 'right', 'top', 'bottom'] Default title orientation (``"top"``, ``"bottom"``, ``"left"``, or ``"right"``) style : str, Sequence[str] A `mark style property `__ @@ -24131,21 +24043,21 @@ class TitleParams(VegaLiteSchema): **Default value:** ``"group-title"``. subtitle : str, :class:`Text`, Sequence[str] The subtitle Text. - 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'] + subtitleColor : Map, str, 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 : str, dict, :class:`ExprRef` + subtitleFont : Map, str, :class:`ExprRef` Font name for subtitle text. - subtitleFontSize : dict, float, :class:`ExprRef` + subtitleFontSize : Map, float, :class:`ExprRef` Font size in pixels for subtitle text. - subtitleFontStyle : str, dict, :class:`ExprRef`, :class:`FontStyle` + subtitleFontStyle : Map, str, :class:`ExprRef`, :class:`FontStyle` Font style for subtitle text. - subtitleFontWeight : dict, :class:`ExprRef`, :class:`FontWeight`, Literal['normal', 'bold', 'lighter', 'bolder', 100, 200, 300, 400, 500, 600, 700, 800, 900] + subtitleFontWeight : Map, :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 : dict, float, :class:`ExprRef` + subtitleLineHeight : Map, float, :class:`ExprRef` Line height in pixels for multi-line subtitle text. - subtitlePadding : dict, float, :class:`ExprRef` + subtitlePadding : Map, 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 @@ -24158,39 +24070,39 @@ class TitleParams(VegaLiteSchema): def __init__( self, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, align: Optional[SchemaBase | Align_T] = Undefined, anchor: Optional[SchemaBase | TitleAnchor_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, baseline: Optional[SchemaBase | TextBaseline_T] = Undefined, color: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T - ] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - frame: Optional[str | dict | Parameter | SchemaBase | TitleFrame_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - orient: Optional[dict | Parameter | SchemaBase | TitleOrient_T] = Undefined, + Map | str | None | Parameter | SchemaBase | ColorName_T + ] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + frame: Optional[Map | str | Parameter | SchemaBase | TitleFrame_T] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + orient: Optional[Map | Parameter | SchemaBase | TitleOrient_T] = Undefined, style: Optional[str | Sequence[str]] = Undefined, subtitle: Optional[str | SchemaBase | Sequence[str]] = Undefined, subtitleColor: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - subtitleFont: Optional[str | dict | Parameter | SchemaBase] = Undefined, - subtitleFontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - subtitleFontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, + subtitleFont: Optional[Map | str | Parameter | SchemaBase] = Undefined, + subtitleFontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + subtitleFontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, subtitleFontWeight: Optional[ - dict | Parameter | SchemaBase | FontWeight_T + Map | Parameter | SchemaBase | FontWeight_T ] = Undefined, - subtitleLineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - subtitlePadding: Optional[dict | float | Parameter | SchemaBase] = Undefined, + subtitleLineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + subtitlePadding: Optional[Map | float | Parameter | SchemaBase] = Undefined, zindex: Optional[float] = Undefined, **kwds, ): @@ -24265,14 +24177,14 @@ class TopLevelSelectionParameter(TopLevelParameter): 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 : dict, :class:`SelectionType`, :class:`PointSelectionConfig`, :class:`IntervalSelectionConfig`, Literal['point', 'interval'] + select : Map, :class:`SelectionType`, :class:`PointSelectionConfig`, :class:`IntervalSelectionConfig`, Literal['point', 'interval'] Determines the default event processing and data query for the selection. Vega-Lite currently supports two selection types: * ``"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 : dict, :class:`Binding`, :class:`BindInput`, :class:`BindRange`, :class:`BindDirect`, :class:`BindCheckbox`, :class:`LegendBinding`, :class:`BindRadioSelect`, Literal['legend', 'scales'], :class:`LegendStreamBinding` + bind : Map, :class:`Binding`, :class:`BindInput`, :class:`BindRange`, :class:`BindDirect`, :class:`BindCheckbox`, :class:`LegendBinding`, :class:`BindRadioSelect`, Literal['legend', 'scales'], :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 @@ -24288,7 +24200,7 @@ class TopLevelSelectionParameter(TopLevelParameter): **See also:** `bind `__ documentation. - value : str, bool, dict, None, float, :class:`DateTime`, :class:`SelectionInit`, :class:`PrimitiveValue`, :class:`SelectionInitIntervalMapping`, Sequence[dict, :class:`SelectionInitMapping`] + value : Map, str, bool, None, float, :class:`DateTime`, :class:`SelectionInit`, :class:`PrimitiveValue`, :class:`SelectionInitIntervalMapping`, Sequence[Map, :class:`SelectionInitMapping`] Initialize the selection with a mapping between `projected channels or field names `__ and initial values. @@ -24306,10 +24218,10 @@ class TopLevelSelectionParameter(TopLevelParameter): def __init__( self, name: Optional[str | SchemaBase] = Undefined, - select: Optional[dict | SchemaBase | SelectionType_T] = Undefined, - bind: Optional[dict | SchemaBase | Literal["legend", "scales"]] = Undefined, + select: Optional[Map | SchemaBase | SelectionType_T] = Undefined, + bind: Optional[Map | SchemaBase | Literal["legend", "scales"]] = Undefined, value: Optional[ - str | bool | dict | None | float | SchemaBase | Sequence[dict | SchemaBase] + Map | str | bool | None | float | SchemaBase | Sequence[Map | SchemaBase] ] = Undefined, views: Optional[Sequence[str]] = Undefined, **kwds, @@ -24339,9 +24251,9 @@ class TopLevelConcatSpec(TopLevelSpec): Parameters ---------- - concat : Sequence[dict, :class:`FacetSpec`, :class:`LayerSpec`, :class:`RepeatSpec`, :class:`FacetedUnitSpec`, :class:`LayerRepeatSpec`, :class:`NonNormalizedSpec`, :class:`NonLayerRepeatSpec`, :class:`ConcatSpecGenericSpec`, :class:`HConcatSpecGenericSpec`, :class:`VConcatSpecGenericSpec`] + concat : Sequence[Map, :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 : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] + align : Map, :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"``. @@ -24357,13 +24269,13 @@ class TopLevelConcatSpec(TopLevelSpec): be used to supply different alignments for rows and columns. **Default value:** ``"all"``. - autosize : dict, :class:`AutosizeType`, :class:`AutoSizeParams`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] + autosize : Map, :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 : 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'] + background : Map, str, :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"`` @@ -24378,7 +24290,7 @@ class TopLevelConcatSpec(TopLevelSpec): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : bool, dict, :class:`RowColboolean` + center : Map, bool, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -24403,13 +24315,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 : dict, :class:`Config` + config : Map, :class:`Config` Vega-Lite configuration object. This property can only be defined at the top-level of a specification. - data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : dict, :class:`Datasets` + datasets : Map, :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. @@ -24417,18 +24329,18 @@ class TopLevelConcatSpec(TopLevelSpec): Description of this mark for commenting purpose. name : str Name of the visualization for later reference. - padding : dict, float, :class:`ExprRef`, :class:`Padding` + padding : Map, 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[dict, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] + params : Sequence[Map, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] Dynamic variables or selections that parameterize a visualization. - resolve : dict, :class:`Resolve` + resolve : Map, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - spacing : dict, float, :class:`RowColnumber` + spacing : Map, 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. @@ -24436,11 +24348,11 @@ class TopLevelConcatSpec(TopLevelSpec): **Default value**: Depends on ``"spacing"`` property of `the view composition configuration `__ (``20`` by default) - title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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 : dict, :class:`Dict` + usermeta : Map, :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 @@ -24455,27 +24367,27 @@ class TopLevelConcatSpec(TopLevelSpec): def __init__( self, - concat: Optional[Sequence[dict | SchemaBase]] = Undefined, - align: Optional[dict | SchemaBase | LayoutAlign_T] = Undefined, - autosize: Optional[dict | SchemaBase | AutosizeType_T] = Undefined, + concat: Optional[Sequence[Map | SchemaBase]] = Undefined, + align: Optional[Map | SchemaBase | LayoutAlign_T] = Undefined, + autosize: Optional[Map | SchemaBase | AutosizeType_T] = Undefined, background: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, bounds: Optional[Literal["full", "flush"]] = Undefined, - center: Optional[bool | dict | SchemaBase] = Undefined, + center: Optional[Map | bool | SchemaBase] = Undefined, columns: Optional[float] = Undefined, - config: Optional[dict | SchemaBase] = Undefined, - data: Optional[dict | None | SchemaBase] = Undefined, - datasets: Optional[dict | SchemaBase] = Undefined, + config: Optional[Map | SchemaBase] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, + datasets: Optional[Map | SchemaBase] = Undefined, description: Optional[str] = Undefined, name: Optional[str] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - params: Optional[Sequence[dict | SchemaBase]] = Undefined, - resolve: Optional[dict | SchemaBase] = Undefined, - spacing: Optional[dict | float | SchemaBase] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, - usermeta: Optional[dict | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + params: Optional[Sequence[Map | SchemaBase]] = Undefined, + resolve: Optional[Map | SchemaBase] = Undefined, + spacing: Optional[Map | float | SchemaBase] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, + usermeta: Optional[Map | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -24508,18 +24420,18 @@ class TopLevelFacetSpec(TopLevelSpec): Parameters ---------- - data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : dict, :class:`FacetMapping`, :class:`FacetFieldDef` + facet : Map, :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 : dict, :class:`LayerSpec`, :class:`UnitSpecWithFrame` + spec : Map, :class:`LayerSpec`, :class:`UnitSpecWithFrame` A specification of the view that gets faceted. - align : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] + align : Map, :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"``. @@ -24535,13 +24447,13 @@ class TopLevelFacetSpec(TopLevelSpec): be used to supply different alignments for rows and columns. **Default value:** ``"all"``. - autosize : dict, :class:`AutosizeType`, :class:`AutoSizeParams`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] + autosize : Map, :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 : 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'] + background : Map, str, :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"`` @@ -24556,7 +24468,7 @@ class TopLevelFacetSpec(TopLevelSpec): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : bool, dict, :class:`RowColboolean` + center : Map, bool, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -24581,10 +24493,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 : dict, :class:`Config` + config : Map, :class:`Config` Vega-Lite configuration object. This property can only be defined at the top-level of a specification. - datasets : dict, :class:`Datasets` + datasets : Map, :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. @@ -24592,18 +24504,18 @@ class TopLevelFacetSpec(TopLevelSpec): Description of this mark for commenting purpose. name : str Name of the visualization for later reference. - padding : dict, float, :class:`ExprRef`, :class:`Padding` + padding : Map, 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[dict, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] + params : Sequence[Map, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] Dynamic variables or selections that parameterize a visualization. - resolve : dict, :class:`Resolve` + resolve : Map, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - spacing : dict, float, :class:`RowColnumber` + spacing : Map, 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. @@ -24611,11 +24523,11 @@ class TopLevelFacetSpec(TopLevelSpec): **Default value**: Depends on ``"spacing"`` property of `the view composition configuration `__ (``20`` by default) - title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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 : dict, :class:`Dict` + usermeta : Map, :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 @@ -24630,28 +24542,28 @@ class TopLevelFacetSpec(TopLevelSpec): def __init__( self, - data: Optional[dict | None | SchemaBase] = Undefined, - facet: Optional[dict | SchemaBase] = Undefined, - spec: Optional[dict | SchemaBase] = Undefined, - align: Optional[dict | SchemaBase | LayoutAlign_T] = Undefined, - autosize: Optional[dict | SchemaBase | AutosizeType_T] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, + facet: Optional[Map | SchemaBase] = Undefined, + spec: Optional[Map | SchemaBase] = Undefined, + align: Optional[Map | SchemaBase | LayoutAlign_T] = Undefined, + autosize: Optional[Map | SchemaBase | AutosizeType_T] = Undefined, background: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, bounds: Optional[Literal["full", "flush"]] = Undefined, - center: Optional[bool | dict | SchemaBase] = Undefined, + center: Optional[Map | bool | SchemaBase] = Undefined, columns: Optional[float] = Undefined, - config: Optional[dict | SchemaBase] = Undefined, - datasets: Optional[dict | SchemaBase] = Undefined, + config: Optional[Map | SchemaBase] = Undefined, + datasets: Optional[Map | SchemaBase] = Undefined, description: Optional[str] = Undefined, name: Optional[str] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - params: Optional[Sequence[dict | SchemaBase]] = Undefined, - resolve: Optional[dict | SchemaBase] = Undefined, - spacing: Optional[dict | float | SchemaBase] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, - usermeta: Optional[dict | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + params: Optional[Sequence[Map | SchemaBase]] = Undefined, + resolve: Optional[Map | SchemaBase] = Undefined, + spacing: Optional[Map | float | SchemaBase] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, + usermeta: Optional[Map | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -24685,15 +24597,15 @@ class TopLevelHConcatSpec(TopLevelSpec): Parameters ---------- - hconcat : Sequence[dict, :class:`FacetSpec`, :class:`LayerSpec`, :class:`RepeatSpec`, :class:`FacetedUnitSpec`, :class:`LayerRepeatSpec`, :class:`NonNormalizedSpec`, :class:`NonLayerRepeatSpec`, :class:`ConcatSpecGenericSpec`, :class:`HConcatSpecGenericSpec`, :class:`VConcatSpecGenericSpec`] + hconcat : Sequence[Map, :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 : dict, :class:`AutosizeType`, :class:`AutoSizeParams`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] + autosize : Map, :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 : 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'] + background : Map, str, :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"`` @@ -24713,13 +24625,13 @@ class TopLevelHConcatSpec(TopLevelSpec): rows or columns. **Default value:** ``false`` - config : dict, :class:`Config` + config : Map, :class:`Config` Vega-Lite configuration object. This property can only be defined at the top-level of a specification. - data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : dict, :class:`Datasets` + datasets : Map, :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. @@ -24727,26 +24639,26 @@ class TopLevelHConcatSpec(TopLevelSpec): Description of this mark for commenting purpose. name : str Name of the visualization for later reference. - padding : dict, float, :class:`ExprRef`, :class:`Padding` + padding : Map, 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[dict, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] + params : Sequence[Map, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] Dynamic variables or selections that parameterize a visualization. - resolve : dict, :class:`Resolve` + resolve : Map, :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 : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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 : dict, :class:`Dict` + usermeta : Map, :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 @@ -24761,25 +24673,25 @@ class TopLevelHConcatSpec(TopLevelSpec): def __init__( self, - hconcat: Optional[Sequence[dict | SchemaBase]] = Undefined, - autosize: Optional[dict | SchemaBase | AutosizeType_T] = Undefined, + hconcat: Optional[Sequence[Map | SchemaBase]] = Undefined, + autosize: Optional[Map | SchemaBase | AutosizeType_T] = Undefined, background: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, bounds: Optional[Literal["full", "flush"]] = Undefined, center: Optional[bool] = Undefined, - config: Optional[dict | SchemaBase] = Undefined, - data: Optional[dict | None | SchemaBase] = Undefined, - datasets: Optional[dict | SchemaBase] = Undefined, + config: Optional[Map | SchemaBase] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, + datasets: Optional[Map | SchemaBase] = Undefined, description: Optional[str] = Undefined, name: Optional[str] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - params: Optional[Sequence[dict | SchemaBase]] = Undefined, - resolve: Optional[dict | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + params: Optional[Sequence[Map | SchemaBase]] = Undefined, + resolve: Optional[Map | SchemaBase] = Undefined, spacing: Optional[float] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, - usermeta: Optional[dict | SchemaBase] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, + usermeta: Optional[Map | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -24810,39 +24722,39 @@ class TopLevelLayerSpec(TopLevelSpec): Parameters ---------- - layer : Sequence[dict, :class:`UnitSpec`, :class:`LayerSpec`] + layer : Sequence[Map, :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 : dict, :class:`AutosizeType`, :class:`AutoSizeParams`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] + autosize : Map, :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 : 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'] + background : Map, str, :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 : dict, :class:`Config` + config : Map, :class:`Config` Vega-Lite configuration object. This property can only be defined at the top-level of a specification. - data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : dict, :class:`Datasets` + datasets : Map, :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 : dict, :class:`SharedEncoding` + encoding : Map, :class:`SharedEncoding` A shared key-value mapping between encoding channels and definition of fields in the underlying layers. - height : dict, float, :class:`Step`, Literal['container'] + height : Map, float, :class:`Step`, Literal['container'] The height of a visualization. * For a plot with a continuous y-field, height should be a number. @@ -24863,32 +24775,32 @@ class TopLevelLayerSpec(TopLevelSpec): documentation. name : str Name of the visualization for later reference. - padding : dict, float, :class:`ExprRef`, :class:`Padding` + padding : Map, 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[dict, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] + params : Sequence[Map, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] Dynamic variables or selections that parameterize a visualization. - projection : dict, :class:`Projection` + projection : Map, :class:`Projection` An object defining properties of the geographic projection shared by underlying layers. - resolve : dict, :class:`Resolve` + resolve : Map, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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 : dict, :class:`Dict` + usermeta : Map, :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 : dict, :class:`ViewBackground` + view : Map, :class:`ViewBackground` An object defining the view background's fill and stroke. **Default value:** none (transparent) - width : dict, float, :class:`Step`, Literal['container'] + width : Map, float, :class:`Step`, Literal['container'] The width of a visualization. * For a plot with a continuous x-field, width should be a number. @@ -24919,27 +24831,27 @@ class TopLevelLayerSpec(TopLevelSpec): def __init__( self, - layer: Optional[Sequence[dict | SchemaBase]] = Undefined, - autosize: Optional[dict | SchemaBase | AutosizeType_T] = Undefined, + layer: Optional[Sequence[Map | SchemaBase]] = Undefined, + autosize: Optional[Map | SchemaBase | AutosizeType_T] = Undefined, background: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, - config: Optional[dict | SchemaBase] = Undefined, - data: Optional[dict | None | SchemaBase] = Undefined, - datasets: Optional[dict | SchemaBase] = Undefined, + config: Optional[Map | SchemaBase] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, + datasets: Optional[Map | SchemaBase] = Undefined, description: Optional[str] = Undefined, - encoding: Optional[dict | SchemaBase] = Undefined, - height: Optional[dict | float | SchemaBase | Literal["container"]] = Undefined, + encoding: Optional[Map | SchemaBase] = Undefined, + height: Optional[Map | float | SchemaBase | Literal["container"]] = Undefined, name: Optional[str] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - params: Optional[Sequence[dict | SchemaBase]] = Undefined, - projection: Optional[dict | SchemaBase] = Undefined, - resolve: Optional[dict | SchemaBase] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, - usermeta: Optional[dict | SchemaBase] = Undefined, - view: Optional[dict | SchemaBase] = Undefined, - width: Optional[dict | float | SchemaBase | Literal["container"]] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + params: Optional[Sequence[Map | SchemaBase]] = Undefined, + projection: Optional[Map | SchemaBase] = Undefined, + resolve: Optional[Map | SchemaBase] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, + usermeta: Optional[Map | SchemaBase] = Undefined, + view: Optional[Map | SchemaBase] = Undefined, + width: Optional[Map | float | SchemaBase | Literal["container"]] = Undefined, **kwds, ): super().__init__( @@ -24981,15 +24893,15 @@ class TopLevelUnitSpec(TopLevelSpec): Parameters ---------- - data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : 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', 'boxplot', 'errorband', 'errorbar'] + mark : Map, :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', 'boxplot', 'errorband', 'errorbar'] 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 : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none'] + align : Map, :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"``. @@ -25005,13 +24917,13 @@ class TopLevelUnitSpec(TopLevelSpec): be used to supply different alignments for rows and columns. **Default value:** ``"all"``. - autosize : dict, :class:`AutosizeType`, :class:`AutoSizeParams`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] + autosize : Map, :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 : 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'] + background : Map, str, :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"`` @@ -25026,7 +24938,7 @@ class TopLevelUnitSpec(TopLevelSpec): sub-plots without axes or legends into a uniform grid structure. **Default value:** ``"full"`` - center : bool, dict, :class:`RowColboolean` + center : Map, bool, :class:`RowColboolean` Boolean flag indicating if subviews should be centered relative to their respective rows or columns. @@ -25034,18 +24946,18 @@ class TopLevelUnitSpec(TopLevelSpec): supply different centering values for rows and columns. **Default value:** ``false`` - config : dict, :class:`Config` + config : Map, :class:`Config` Vega-Lite configuration object. This property can only be defined at the top-level of a specification. - datasets : dict, :class:`Datasets` + datasets : Map, :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 : dict, :class:`FacetedEncoding` + encoding : Map, :class:`FacetedEncoding` A key-value mapping between encoding channels and definition of fields. - height : dict, float, :class:`Step`, Literal['container'] + height : Map, float, :class:`Step`, Literal['container'] The height of a visualization. * For a plot with a continuous y-field, height should be a number. @@ -25066,23 +24978,23 @@ class TopLevelUnitSpec(TopLevelSpec): documentation. name : str Name of the visualization for later reference. - padding : dict, float, :class:`ExprRef`, :class:`Padding` + padding : Map, 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[dict, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] + params : Sequence[Map, :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 : dict, :class:`Projection` + projection : Map, :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 : dict, :class:`Resolve` + resolve : Map, :class:`Resolve` Scale, axis, and legend resolutions for view composition specifications. - spacing : dict, float, :class:`RowColnumber` + spacing : Map, 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. @@ -25090,18 +25002,18 @@ class TopLevelUnitSpec(TopLevelSpec): **Default value**: Depends on ``"spacing"`` property of `the view composition configuration `__ (``20`` by default) - title : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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 : dict, :class:`Dict` + usermeta : Map, :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 : dict, :class:`ViewBackground` + view : Map, :class:`ViewBackground` An object defining the view background's fill and stroke. **Default value:** none (transparent) - width : dict, float, :class:`Step`, Literal['container'] + width : Map, float, :class:`Step`, Literal['container'] The width of a visualization. * For a plot with a continuous x-field, width should be a number. @@ -25132,31 +25044,31 @@ class TopLevelUnitSpec(TopLevelSpec): def __init__( self, - data: Optional[dict | None | SchemaBase] = Undefined, - mark: Optional[dict | SchemaBase | Mark_T | CompositeMark_T] = Undefined, - align: Optional[dict | SchemaBase | LayoutAlign_T] = Undefined, - autosize: Optional[dict | SchemaBase | AutosizeType_T] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, + mark: Optional[Map | SchemaBase | Mark_T | CompositeMark_T] = Undefined, + align: Optional[Map | SchemaBase | LayoutAlign_T] = Undefined, + autosize: Optional[Map | SchemaBase | AutosizeType_T] = Undefined, background: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, bounds: Optional[Literal["full", "flush"]] = Undefined, - center: Optional[bool | dict | SchemaBase] = Undefined, - config: Optional[dict | SchemaBase] = Undefined, - datasets: Optional[dict | SchemaBase] = Undefined, + center: Optional[Map | bool | SchemaBase] = Undefined, + config: Optional[Map | SchemaBase] = Undefined, + datasets: Optional[Map | SchemaBase] = Undefined, description: Optional[str] = Undefined, - encoding: Optional[dict | SchemaBase] = Undefined, - height: Optional[dict | float | SchemaBase | Literal["container"]] = Undefined, + encoding: Optional[Map | SchemaBase] = Undefined, + height: Optional[Map | float | SchemaBase | Literal["container"]] = Undefined, name: Optional[str] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - params: Optional[Sequence[dict | SchemaBase]] = Undefined, - projection: Optional[dict | SchemaBase] = Undefined, - resolve: Optional[dict | SchemaBase] = Undefined, - spacing: Optional[dict | float | SchemaBase] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, - usermeta: Optional[dict | SchemaBase] = Undefined, - view: Optional[dict | SchemaBase] = Undefined, - width: Optional[dict | float | SchemaBase | Literal["container"]] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + params: Optional[Sequence[Map | SchemaBase]] = Undefined, + projection: Optional[Map | SchemaBase] = Undefined, + resolve: Optional[Map | SchemaBase] = Undefined, + spacing: Optional[Map | float | SchemaBase] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, + usermeta: Optional[Map | SchemaBase] = Undefined, + view: Optional[Map | SchemaBase] = Undefined, + width: Optional[Map | float | SchemaBase | Literal["container"]] = Undefined, **kwds, ): super().__init__( @@ -25193,15 +25105,15 @@ class TopLevelVConcatSpec(TopLevelSpec): Parameters ---------- - vconcat : Sequence[dict, :class:`FacetSpec`, :class:`LayerSpec`, :class:`RepeatSpec`, :class:`FacetedUnitSpec`, :class:`LayerRepeatSpec`, :class:`NonNormalizedSpec`, :class:`NonLayerRepeatSpec`, :class:`ConcatSpecGenericSpec`, :class:`HConcatSpecGenericSpec`, :class:`VConcatSpecGenericSpec`] + vconcat : Sequence[Map, :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 : dict, :class:`AutosizeType`, :class:`AutoSizeParams`, Literal['pad', 'none', 'fit', 'fit-x', 'fit-y'] + autosize : Map, :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 : 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'] + background : Map, str, :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"`` @@ -25221,13 +25133,13 @@ class TopLevelVConcatSpec(TopLevelSpec): rows or columns. **Default value:** ``false`` - config : dict, :class:`Config` + config : Map, :class:`Config` Vega-Lite configuration object. This property can only be defined at the top-level of a specification. - data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : dict, :class:`Datasets` + datasets : Map, :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. @@ -25235,26 +25147,26 @@ class TopLevelVConcatSpec(TopLevelSpec): Description of this mark for commenting purpose. name : str Name of the visualization for later reference. - padding : dict, float, :class:`ExprRef`, :class:`Padding` + padding : Map, 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[dict, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] + params : Sequence[Map, :class:`TopLevelParameter`, :class:`VariableParameter`, :class:`TopLevelSelectionParameter`] Dynamic variables or selections that parameterize a visualization. - resolve : dict, :class:`Resolve` + resolve : Map, :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 : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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 : dict, :class:`Dict` + usermeta : Map, :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 @@ -25269,25 +25181,25 @@ class TopLevelVConcatSpec(TopLevelSpec): def __init__( self, - vconcat: Optional[Sequence[dict | SchemaBase]] = Undefined, - autosize: Optional[dict | SchemaBase | AutosizeType_T] = Undefined, + vconcat: Optional[Sequence[Map | SchemaBase]] = Undefined, + autosize: Optional[Map | SchemaBase | AutosizeType_T] = Undefined, background: Optional[ - str | dict | Parameter | SchemaBase | ColorName_T + Map | str | Parameter | SchemaBase | ColorName_T ] = Undefined, bounds: Optional[Literal["full", "flush"]] = Undefined, center: Optional[bool] = Undefined, - config: Optional[dict | SchemaBase] = Undefined, - data: Optional[dict | None | SchemaBase] = Undefined, - datasets: Optional[dict | SchemaBase] = Undefined, + config: Optional[Map | SchemaBase] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, + datasets: Optional[Map | SchemaBase] = Undefined, description: Optional[str] = Undefined, name: Optional[str] = Undefined, - padding: Optional[dict | float | Parameter | SchemaBase] = Undefined, - params: Optional[Sequence[dict | SchemaBase]] = Undefined, - resolve: Optional[dict | SchemaBase] = Undefined, + padding: Optional[Map | float | Parameter | SchemaBase] = Undefined, + params: Optional[Sequence[Map | SchemaBase]] = Undefined, + resolve: Optional[Map | SchemaBase] = Undefined, spacing: Optional[float] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, - usermeta: Optional[dict | SchemaBase] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, + usermeta: Optional[Map | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -25330,7 +25242,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 : dict, None, :class:`Parse` + parse : Map, 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 @@ -25359,7 +25271,7 @@ def __init__( self, feature: Optional[str] = Undefined, mesh: Optional[str] = Undefined, - parse: Optional[dict | None | SchemaBase] = Undefined, + parse: Optional[Map | None | SchemaBase] = Undefined, type: Optional[Literal["topojson"]] = Undefined, **kwds, ): @@ -25381,7 +25293,7 @@ class AggregateTransform(Transform): Parameters ---------- - aggregate : Sequence[dict, :class:`AggregatedFieldDef`] + aggregate : Sequence[Map, :class:`AggregatedFieldDef`] Array of objects that define fields to aggregate. groupby : Sequence[str, :class:`FieldName`] The data fields to group by. If not specified, a single group containing all data @@ -25392,7 +25304,7 @@ class AggregateTransform(Transform): def __init__( self, - aggregate: Optional[Sequence[dict | SchemaBase]] = Undefined, + aggregate: Optional[Sequence[Map | SchemaBase]] = Undefined, groupby: Optional[Sequence[str | SchemaBase]] = Undefined, **kwds, ): @@ -25405,7 +25317,7 @@ class BinTransform(Transform): Parameters ---------- - bin : dict, Literal[True], :class:`BinParams` + bin : Map, Literal[True], :class:`BinParams` An object indicating bin properties, or simply ``true`` for using default bin parameters. field : str, :class:`FieldName` @@ -25421,7 +25333,7 @@ class BinTransform(Transform): def __init__( self, - bin: Optional[dict | SchemaBase | Literal[True]] = Undefined, + bin: Optional[Map | SchemaBase | Literal[True]] = Undefined, field: Optional[str | SchemaBase] = Undefined, **kwds, ): @@ -25564,7 +25476,7 @@ class FilterTransform(Transform): Parameters ---------- - 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` + filter : Map, str, :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: @@ -25596,7 +25508,7 @@ class FilterTransform(Transform): _schema = {"$ref": "#/definitions/FilterTransform"} - def __init__(self, filter: Optional[str | dict | SchemaBase] = Undefined, **kwds): + def __init__(self, filter: Optional[Map | str | SchemaBase] = Undefined, **kwds): super().__init__(filter=filter, **kwds) @@ -25668,7 +25580,7 @@ class ImputeTransform(Transform): 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 : dict, Sequence[Any], :class:`ImputeSequence` + keyvals : Map, 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 `__. @@ -25696,7 +25608,7 @@ def __init__( key: Optional[str | SchemaBase] = Undefined, frame: Optional[Sequence[None | float]] = Undefined, groupby: Optional[Sequence[str | SchemaBase]] = Undefined, - keyvals: Optional[dict | SchemaBase | Sequence[Any]] = Undefined, + keyvals: Optional[Map | SchemaBase | Sequence[Any]] = Undefined, method: Optional[SchemaBase | ImputeMethod_T] = Undefined, value: Optional[Any] = Undefined, **kwds, @@ -25719,7 +25631,7 @@ class JoinAggregateTransform(Transform): Parameters ---------- - joinaggregate : Sequence[dict, :class:`JoinAggregateFieldDef`] + joinaggregate : Sequence[Map, :class:`JoinAggregateFieldDef`] The definition of the fields in the join aggregate, and what calculations to use. groupby : Sequence[str, :class:`FieldName`] The data fields for partitioning the data objects into separate groups. If @@ -25730,7 +25642,7 @@ class JoinAggregateTransform(Transform): def __init__( self, - joinaggregate: Optional[Sequence[dict | SchemaBase]] = Undefined, + joinaggregate: Optional[Sequence[Map | SchemaBase]] = Undefined, groupby: Optional[Sequence[str | SchemaBase]] = Undefined, **kwds, ): @@ -25798,7 +25710,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 : dict, :class:`LookupData`, :class:`LookupSelection` + from : Map, :class:`LookupData`, :class:`LookupSelection` Data source or selection for secondary data reference. """ @@ -25994,7 +25906,7 @@ class StackTransform(Transform): percentage values for each stack point, with output values in the range ``[0,1]``. **Default value:** ``"zero"`` - sort : Sequence[dict, :class:`SortField`] + sort : Sequence[Map, :class:`SortField`] Field that determines the order of leaves in the stacked charts. as : str, :class:`FieldName`, Sequence[str, :class:`FieldName`] Output field names. This can be either a string or an array of strings with two @@ -26010,7 +25922,7 @@ def __init__( groupby: Optional[Sequence[str | SchemaBase]] = Undefined, stack: Optional[str | SchemaBase] = Undefined, offset: Optional[StackOffset_T] = Undefined, - sort: Optional[Sequence[dict | SchemaBase]] = Undefined, + sort: Optional[Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__(groupby=groupby, stack=stack, offset=offset, sort=sort, **kwds) @@ -26024,7 +25936,7 @@ class TimeUnitTransform(Transform): ---------- field : str, :class:`FieldName` The data field to apply time unit. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`SingleTimeUnit`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, :class:`TimeUnitTransformParams`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`SingleTimeUnit`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, :class:`TimeUnitTransformParams`, Literal['utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] The timeUnit. as : str, :class:`FieldName` The output field to write the timeUnit value. @@ -26036,7 +25948,7 @@ def __init__( self, field: Optional[str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | SingleTimeUnit_T ] = Undefined, **kwds, ): @@ -26073,7 +25985,7 @@ class TypedFieldDef(VegaLiteSchema): Parameters ---------- - 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', 'exponential', 'exponentialb'] + aggregate : Map, :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', 'exponential', 'exponentialb'] Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``, ``"min"``, ``"max"``, ``"count"``). @@ -26085,7 +25997,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 : bool, dict, None, Literal['binned'], :class:`BinParams` + bin : Map, bool, None, Literal['binned'], :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 @@ -26106,7 +26018,7 @@ class TypedFieldDef(VegaLiteSchema): **See also:** `bin `__ documentation. - field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef` + field : Map, str, :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. @@ -26121,7 +26033,7 @@ class TypedFieldDef(VegaLiteSchema): about escaping in the `field documentation `__. 2) ``field`` is not required if ``aggregate`` is ``count``. - timeUnit : dict, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] + timeUnit : Map, :class:`TimeUnit`, :class:`MultiTimeUnit`, :class:`BinnedTimeUnit`, :class:`SingleTimeUnit`, :class:`TimeUnitParams`, :class:`UtcMultiTimeUnit`, :class:`UtcSingleTimeUnit`, :class:`LocalMultiTimeUnit`, :class:`LocalSingleTimeUnit`, Literal['binnedutcyear', 'binnedutcyearquarter', 'binnedutcyearquartermonth', 'binnedutcyearmonth', 'binnedutcyearmonthdate', 'binnedutcyearmonthdatehours', 'binnedutcyearmonthdatehoursminutes', 'binnedutcyearmonthdatehoursminutesseconds', 'binnedutcyearweek', 'binnedutcyearweekday', 'binnedutcyearweekdayhours', 'binnedutcyearweekdayhoursminutes', 'binnedutcyearweekdayhoursminutesseconds', 'binnedutcyeardayofyear', 'binnedyear', 'binnedyearquarter', 'binnedyearquartermonth', 'binnedyearmonth', 'binnedyearmonthdate', 'binnedyearmonthdatehours', 'binnedyearmonthdatehoursminutes', 'binnedyearmonthdatehoursminutesseconds', 'binnedyearweek', 'binnedyearweekday', 'binnedyearweekdayhours', 'binnedyearweekdayhoursminutes', 'binnedyearweekdayhoursminutesseconds', 'binnedyeardayofyear', 'utcyear', 'utcquarter', 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours', 'utcminutes', 'utcseconds', 'utcmilliseconds', 'year', 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes', 'seconds', 'milliseconds', 'utcyearquarter', 'utcyearquartermonth', 'utcyearmonth', 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes', 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday', 'utcyearweekdayhours', 'utcyearweekdayhoursminutes', 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth', 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes', 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweekdayhours', 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours', 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes', 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds', 'yearquarter', 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours', 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek', 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes', 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth', 'monthdate', 'monthdatehours', 'monthdatehoursminutes', 'monthdatehoursminutesseconds', 'weekday', 'weekdayhours', 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours', 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes', 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'] Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal field. or `a temporal field that gets casted as ordinal `__. @@ -26222,12 +26134,12 @@ class TypedFieldDef(VegaLiteSchema): def __init__( self, - aggregate: Optional[dict | SchemaBase | NonArgAggregateOp_T] = Undefined, + aggregate: Optional[Map | SchemaBase | NonArgAggregateOp_T] = Undefined, bandPosition: Optional[float] = Undefined, - bin: Optional[bool | dict | None | SchemaBase | Literal["binned"]] = Undefined, - field: Optional[str | dict | SchemaBase] = Undefined, + bin: Optional[Map | bool | None | SchemaBase | Literal["binned"]] = Undefined, + field: Optional[Map | str | SchemaBase] = Undefined, timeUnit: Optional[ - dict | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T + Map | SchemaBase | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T ] = Undefined, title: Optional[str | None | SchemaBase | Sequence[str]] = Undefined, type: Optional[SchemaBase | StandardType_T] = Undefined, @@ -26262,30 +26174,30 @@ class UnitSpec(VegaLiteSchema): Parameters ---------- - mark : 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', 'boxplot', 'errorband', 'errorbar'] + mark : Map, :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', 'boxplot', 'errorband', 'errorbar'] 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 : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : dict, :class:`Encoding` + encoding : Map, :class:`Encoding` A key-value mapping between encoding channels and definition of fields. name : str Name of the visualization for later reference. - params : Sequence[dict, :class:`SelectionParameter`] + params : Sequence[Map, :class:`SelectionParameter`] An array of parameters that may either be simple variables, or more complex selections that map user input to data queries. - projection : dict, :class:`Projection` + projection : Map, :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 : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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. """ @@ -26293,15 +26205,15 @@ class UnitSpec(VegaLiteSchema): def __init__( self, - mark: Optional[dict | SchemaBase | Mark_T | CompositeMark_T] = Undefined, - data: Optional[dict | None | SchemaBase] = Undefined, + mark: Optional[Map | SchemaBase | Mark_T | CompositeMark_T] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, description: Optional[str] = Undefined, - encoding: Optional[dict | SchemaBase] = Undefined, + encoding: Optional[Map | SchemaBase] = Undefined, name: Optional[str] = Undefined, - params: Optional[Sequence[dict | SchemaBase]] = Undefined, - projection: Optional[dict | SchemaBase] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, + params: Optional[Sequence[Map | SchemaBase]] = Undefined, + projection: Optional[Map | SchemaBase] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__( @@ -26324,19 +26236,19 @@ class UnitSpecWithFrame(VegaLiteSchema): Parameters ---------- - mark : 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', 'boxplot', 'errorband', 'errorbar'] + mark : Map, :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', 'boxplot', 'errorband', 'errorbar'] 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 : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : dict, :class:`Encoding` + encoding : Map, :class:`Encoding` A key-value mapping between encoding channels and definition of fields. - height : dict, float, :class:`Step`, Literal['container'] + height : Map, float, :class:`Step`, Literal['container'] The height of a visualization. * For a plot with a continuous y-field, height should be a number. @@ -26357,22 +26269,22 @@ class UnitSpecWithFrame(VegaLiteSchema): documentation. name : str Name of the visualization for later reference. - params : Sequence[dict, :class:`SelectionParameter`] + params : Sequence[Map, :class:`SelectionParameter`] An array of parameters that may either be simple variables, or more complex selections that map user input to data queries. - projection : dict, :class:`Projection` + projection : Map, :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 : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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 : dict, :class:`ViewBackground` + view : Map, :class:`ViewBackground` An object defining the view background's fill and stroke. **Default value:** none (transparent) - width : dict, float, :class:`Step`, Literal['container'] + width : Map, float, :class:`Step`, Literal['container'] The width of a visualization. * For a plot with a continuous x-field, width should be a number. @@ -26397,18 +26309,18 @@ class UnitSpecWithFrame(VegaLiteSchema): def __init__( self, - mark: Optional[dict | SchemaBase | Mark_T | CompositeMark_T] = Undefined, - data: Optional[dict | None | SchemaBase] = Undefined, + mark: Optional[Map | SchemaBase | Mark_T | CompositeMark_T] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, description: Optional[str] = Undefined, - encoding: Optional[dict | SchemaBase] = Undefined, - height: Optional[dict | float | SchemaBase | Literal["container"]] = Undefined, + encoding: Optional[Map | SchemaBase] = Undefined, + height: Optional[Map | float | SchemaBase | Literal["container"]] = Undefined, name: Optional[str] = Undefined, - params: Optional[Sequence[dict | SchemaBase]] = Undefined, - projection: Optional[dict | SchemaBase] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, - view: Optional[dict | SchemaBase] = Undefined, - width: Optional[dict | float | SchemaBase | Literal["container"]] = Undefined, + params: Optional[Sequence[Map | SchemaBase]] = Undefined, + projection: Optional[Map | SchemaBase] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, + view: Optional[Map | SchemaBase] = Undefined, + width: Optional[Map | float | SchemaBase | Literal["container"]] = Undefined, **kwds, ): super().__init__( @@ -26437,7 +26349,7 @@ class UrlData(DataSource): 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 : dict, :class:`DataFormat`, :class:`CsvDataFormat`, :class:`DsvDataFormat`, :class:`JsonDataFormat`, :class:`TopoDataFormat` + format : Map, :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. @@ -26448,7 +26360,7 @@ class UrlData(DataSource): def __init__( self, url: Optional[str] = Undefined, - format: Optional[dict | SchemaBase] = Undefined, + format: Optional[Map | SchemaBase] = Undefined, name: Optional[str] = Undefined, **kwds, ): @@ -26481,7 +26393,7 @@ class VConcatSpecGenericSpec(Spec, NonNormalizedSpec): Parameters ---------- - vconcat : Sequence[dict, :class:`Spec`, :class:`FacetSpec`, :class:`LayerSpec`, :class:`RepeatSpec`, :class:`FacetedUnitSpec`, :class:`LayerRepeatSpec`, :class:`NonLayerRepeatSpec`, :class:`ConcatSpecGenericSpec`, :class:`HConcatSpecGenericSpec`, :class:`VConcatSpecGenericSpec`] + vconcat : Sequence[Map, :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 @@ -26499,22 +26411,22 @@ class VConcatSpecGenericSpec(Spec, NonNormalizedSpec): rows or columns. **Default value:** ``false`` - data : dict, None, :class:`Data`, :class:`UrlData`, :class:`Generator`, :class:`NamedData`, :class:`DataSource`, :class:`InlineData`, :class:`SphereGenerator`, :class:`SequenceGenerator`, :class:`GraticuleGenerator` + data : Map, 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 : dict, :class:`Resolve` + resolve : Map, :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 : str, dict, :class:`Text`, Sequence[str], :class:`TitleParams` + title : Map, str, :class:`Text`, Sequence[str], :class:`TitleParams` Title for the plot. - 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`] + transform : Sequence[Map, :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. """ @@ -26522,16 +26434,16 @@ class VConcatSpecGenericSpec(Spec, NonNormalizedSpec): def __init__( self, - vconcat: Optional[Sequence[dict | SchemaBase]] = Undefined, + vconcat: Optional[Sequence[Map | SchemaBase]] = Undefined, bounds: Optional[Literal["full", "flush"]] = Undefined, center: Optional[bool] = Undefined, - data: Optional[dict | None | SchemaBase] = Undefined, + data: Optional[Map | None | SchemaBase] = Undefined, description: Optional[str] = Undefined, name: Optional[str] = Undefined, - resolve: Optional[dict | SchemaBase] = Undefined, + resolve: Optional[Map | SchemaBase] = Undefined, spacing: Optional[float] = Undefined, - title: Optional[str | dict | SchemaBase | Sequence[str]] = Undefined, - transform: Optional[Sequence[dict | SchemaBase]] = Undefined, + title: Optional[Map | str | SchemaBase | Sequence[str]] = Undefined, + transform: Optional[Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__( @@ -26557,9 +26469,9 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull( Parameters ---------- - condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] + condition : Map, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[Map, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : str, dict, None, :class:`ExprRef`, :class:`Gradient`, :class:`LinearGradient`, :class:`RadialGradient` + value : Map, str, 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). @@ -26571,10 +26483,8 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull( def __init__( self, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__(condition=condition, value=value, **kwds) @@ -26588,9 +26498,9 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull( Parameters ---------- - condition : dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, :class:`ConditionalMarkPropFieldOrDatumDefTypeForShape`, :class:`ConditionalParameterMarkPropFieldOrDatumDefTypeForShape`, :class:`ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] + condition : Map, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, :class:`ConditionalMarkPropFieldOrDatumDefTypeForShape`, :class:`ConditionalParameterMarkPropFieldOrDatumDefTypeForShape`, :class:`ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape`, Sequence[Map, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : str, dict, None, :class:`ExprRef` + value : Map, str, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -26602,10 +26512,8 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull( def __init__( self, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__(condition=condition, value=value, **kwds) @@ -26619,9 +26527,9 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefnumber( Parameters ---------- - condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] + condition : Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[Map, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : dict, float, :class:`ExprRef` + value : Map, float, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -26633,10 +26541,8 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefnumber( def __init__( self, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - value: Optional[dict | float | Parameter | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + value: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__(condition=condition, value=value, **kwds) @@ -26650,9 +26556,9 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray( Parameters ---------- - condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`] + condition : Map, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[Map, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : dict, Sequence[float], :class:`ExprRef` + value : Map, 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). @@ -26664,10 +26570,8 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray( def __init__( self, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - value: Optional[dict | Parameter | SchemaBase | Sequence[float]] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + value: Optional[Map | Parameter | SchemaBase | Sequence[float]] = Undefined, **kwds, ): super().__init__(condition=condition, value=value, **kwds) @@ -26679,9 +26583,9 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefstringnull(VegaLiteSchema): Parameters ---------- - condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] + condition : Map, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[Map, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : str, dict, None, :class:`ExprRef` + value : Map, str, None, :class:`ExprRef` A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -26693,10 +26597,8 @@ class ValueDefWithConditionMarkPropFieldOrDatumDefstringnull(VegaLiteSchema): def __init__( self, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - value: Optional[str | dict | None | Parameter | SchemaBase] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + value: Optional[Map | str | None | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__(condition=condition, value=value, **kwds) @@ -26708,9 +26610,9 @@ class ValueDefWithConditionStringFieldDefText(TextDef): Parameters ---------- - condition : dict, :class:`ConditionalStringFieldDef`, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterStringFieldDef`, :class:`ConditionalPredicateStringFieldDef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`] + condition : Map, :class:`ConditionalStringFieldDef`, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterStringFieldDef`, :class:`ConditionalPredicateStringFieldDef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[Map, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`] A field definition or one or more value definition(s) with a parameter predicate. - value : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef` + value : Map, str, :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). @@ -26720,12 +26622,8 @@ class ValueDefWithConditionStringFieldDefText(TextDef): def __init__( self, - condition: Optional[ - dict | SchemaBase | Sequence[dict | SchemaBase] - ] = Undefined, - value: Optional[ - str | dict | Parameter | SchemaBase | Sequence[str] - ] = Undefined, + condition: Optional[Map | SchemaBase | Sequence[Map | SchemaBase]] = Undefined, + value: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, **kwds, ): super().__init__(condition=condition, value=value, **kwds) @@ -26761,7 +26659,7 @@ class ValueDefnumberwidthheightExprRef(VegaLiteSchema): Parameters ---------- - value : dict, float, :class:`ExprRef`, Literal['height', 'width'] + value : Map, float, :class:`ExprRef`, Literal['height', 'width'] A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient definition `__ for color, values between ``0`` to ``1`` for opacity). @@ -26772,7 +26670,7 @@ class ValueDefnumberwidthheightExprRef(VegaLiteSchema): def __init__( self, value: Optional[ - dict | float | Parameter | SchemaBase | Literal["height", "width"] + Map | float | Parameter | SchemaBase | Literal["height", "width"] ] = Undefined, **kwds, ): @@ -26790,7 +26688,7 @@ class VariableParameter(TopLevelParameter): 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 : dict, :class:`Binding`, :class:`BindInput`, :class:`BindRange`, :class:`BindDirect`, :class:`BindCheckbox`, :class:`BindRadioSelect` + bind : Map, :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 : str, :class:`Expr` @@ -26816,7 +26714,7 @@ class VariableParameter(TopLevelParameter): def __init__( self, name: Optional[str | SchemaBase] = Undefined, - bind: Optional[dict | SchemaBase] = Undefined, + bind: Optional[Map | SchemaBase] = Undefined, expr: Optional[str | SchemaBase] = Undefined, react: Optional[bool] = Undefined, value: Optional[Any] = Undefined, @@ -26914,50 +26812,50 @@ class ViewBackground(VegaLiteSchema): Parameters ---------- - cornerRadius : dict, float, :class:`ExprRef` + cornerRadius : Map, 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 : 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'] + fill : Map, str, 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 : dict, float, :class:`ExprRef` + fillOpacity : Map, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` - opacity : dict, float, :class:`ExprRef` + opacity : Map, 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 : 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 : Map, str, 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 : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : Map, :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 : dict, Sequence[float], :class:`ExprRef` + strokeDash : Map, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : dict, float, :class:`ExprRef` + strokeDashOffset : Map, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : Map, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : dict, float, :class:`ExprRef` + strokeMiterLimit : Map, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOpacity : dict, float, :class:`ExprRef` + strokeOpacity : Map, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : dict, float, :class:`ExprRef` + strokeWidth : Map, float, :class:`ExprRef` The stroke width, in pixels. style : str, Sequence[str] A string or array of strings indicating the name of custom styles to apply to the @@ -26974,25 +26872,25 @@ class ViewBackground(VegaLiteSchema): def __init__( self, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cursor: Optional[SchemaBase | Cursor_T] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, **kwds, ): @@ -27033,64 +26931,64 @@ class ViewConfig(VegaLiteSchema): arc marks. **Default value:** ``200`` - cornerRadius : dict, float, :class:`ExprRef` + cornerRadius : Map, 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, float + discreteHeight : Map, 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, float + discreteWidth : Map, 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 : 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'] + fill : Map, str, 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 : dict, float, :class:`ExprRef` + fillOpacity : Map, float, :class:`ExprRef` The fill opacity (value between [0,1]). **Default value:** ``1`` - opacity : dict, float, :class:`ExprRef` + opacity : Map, 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 : 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 : Map, str, 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 : dict, :class:`ExprRef`, :class:`StrokeCap`, Literal['butt', 'round', 'square'] + strokeCap : Map, :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 : dict, Sequence[float], :class:`ExprRef` + strokeDash : Map, Sequence[float], :class:`ExprRef` An array of alternating stroke, space lengths for creating dashed or dotted lines. - strokeDashOffset : dict, float, :class:`ExprRef` + strokeDashOffset : Map, float, :class:`ExprRef` The offset (in pixels) into which to begin drawing with the stroke dash array. - strokeJoin : dict, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] + strokeJoin : Map, :class:`ExprRef`, :class:`StrokeJoin`, Literal['miter', 'round', 'bevel'] The stroke line join method. One of ``"miter"``, ``"round"`` or ``"bevel"``. **Default value:** ``"miter"`` - strokeMiterLimit : dict, float, :class:`ExprRef` + strokeMiterLimit : Map, float, :class:`ExprRef` The miter limit at which to bevel a line join. - strokeOpacity : dict, float, :class:`ExprRef` + strokeOpacity : Map, float, :class:`ExprRef` The stroke opacity (value between [0,1]). **Default value:** ``1`` - strokeWidth : dict, float, :class:`ExprRef` + strokeWidth : Map, float, :class:`ExprRef` The stroke width, in pixels. """ @@ -27101,28 +26999,28 @@ def __init__( clip: Optional[bool] = Undefined, continuousHeight: Optional[float] = Undefined, continuousWidth: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cursor: Optional[SchemaBase | Cursor_T] = Undefined, - discreteHeight: Optional[dict | float] = Undefined, - discreteWidth: Optional[dict | float] = Undefined, + discreteHeight: Optional[Map | float] = Undefined, + discreteWidth: Optional[Map | float] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, step: Optional[float] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] + Map | Parameter | SchemaBase | Sequence[float] ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ): super().__init__( @@ -27218,7 +27116,7 @@ class WindowTransform(Transform): Parameters ---------- - window : Sequence[dict, :class:`WindowFieldDef`] + window : Sequence[Map, :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 @@ -27249,7 +27147,7 @@ class WindowTransform(Transform): last_value, and nth_value window operations. **Default value:** ``false`` - sort : Sequence[dict, :class:`SortField`] + sort : Sequence[Map, :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 @@ -27261,11 +27159,11 @@ class WindowTransform(Transform): def __init__( self, - window: Optional[Sequence[dict | SchemaBase]] = Undefined, + window: Optional[Sequence[Map | SchemaBase]] = Undefined, frame: Optional[Sequence[None | float]] = Undefined, groupby: Optional[Sequence[str | SchemaBase]] = Undefined, ignorePeers: Optional[bool] = Undefined, - sort: Optional[Sequence[dict | SchemaBase]] = Undefined, + sort: Optional[Sequence[Map | SchemaBase]] = Undefined, **kwds, ): super().__init__( diff --git a/altair/vegalite/v5/schema/mixins.py b/altair/vegalite/v5/schema/mixins.py index 90b8252ce..fa7ec92b6 100644 --- a/altair/vegalite/v5/schema/mixins.py +++ b/altair/vegalite/v5/schema/mixins.py @@ -32,118 +32,114 @@ class MarkMethodMixin: def mark_arc( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, bandSize: Optional[float] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - clip: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + clip: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusEnd: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusEnd: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - line: Optional[bool | dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + line: Optional[Map | bool | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radiusOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radiusOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - thetaOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + thetaOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, thickness: Optional[float] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, - x2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - xOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + x2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + xOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, - y2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - yOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + y2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + yOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'arc' (see :class:`MarkDef`).""" @@ -245,118 +241,114 @@ def mark_arc( def mark_area( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, bandSize: Optional[float] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - clip: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + clip: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusEnd: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusEnd: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - line: Optional[bool | dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + line: Optional[Map | bool | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radiusOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radiusOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - thetaOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + thetaOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, thickness: Optional[float] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, - x2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - xOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + x2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + xOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, - y2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - yOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + y2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + yOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'area' (see :class:`MarkDef`).""" @@ -458,118 +450,114 @@ def mark_area( def mark_bar( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, bandSize: Optional[float] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - clip: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + clip: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusEnd: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusEnd: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - line: Optional[bool | dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + line: Optional[Map | bool | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radiusOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radiusOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - thetaOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + thetaOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, thickness: Optional[float] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, - x2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - xOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + x2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + xOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, - y2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - yOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + y2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + yOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'bar' (see :class:`MarkDef`).""" @@ -671,118 +659,114 @@ def mark_bar( def mark_image( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, bandSize: Optional[float] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - clip: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + clip: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusEnd: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusEnd: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - line: Optional[bool | dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + line: Optional[Map | bool | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radiusOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radiusOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - thetaOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + thetaOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, thickness: Optional[float] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, - x2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - xOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + x2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + xOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, - y2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - yOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + y2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + yOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'image' (see :class:`MarkDef`).""" @@ -884,118 +868,114 @@ def mark_image( def mark_line( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, bandSize: Optional[float] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - clip: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + clip: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusEnd: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusEnd: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - line: Optional[bool | dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + line: Optional[Map | bool | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radiusOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radiusOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - thetaOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + thetaOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, thickness: Optional[float] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, - x2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - xOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + x2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + xOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, - y2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - yOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + y2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + yOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'line' (see :class:`MarkDef`).""" @@ -1097,118 +1077,114 @@ def mark_line( def mark_point( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, bandSize: Optional[float] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - clip: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + clip: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusEnd: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusEnd: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - line: Optional[bool | dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + line: Optional[Map | bool | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radiusOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radiusOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - thetaOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + thetaOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, thickness: Optional[float] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, - x2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - xOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + x2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + xOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, - y2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - yOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + y2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + yOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'point' (see :class:`MarkDef`).""" @@ -1310,118 +1286,114 @@ def mark_point( def mark_rect( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, bandSize: Optional[float] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - clip: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + clip: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusEnd: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusEnd: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - line: Optional[bool | dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + line: Optional[Map | bool | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radiusOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radiusOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - thetaOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + thetaOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, thickness: Optional[float] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, - x2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - xOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + x2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + xOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, - y2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - yOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + y2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + yOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'rect' (see :class:`MarkDef`).""" @@ -1523,118 +1495,114 @@ def mark_rect( def mark_rule( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, bandSize: Optional[float] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - clip: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + clip: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusEnd: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusEnd: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - line: Optional[bool | dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + line: Optional[Map | bool | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radiusOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radiusOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - thetaOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + thetaOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, thickness: Optional[float] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, - x2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - xOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + x2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + xOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, - y2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - yOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + y2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + yOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'rule' (see :class:`MarkDef`).""" @@ -1736,118 +1704,114 @@ def mark_rule( def mark_text( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, bandSize: Optional[float] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - clip: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + clip: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusEnd: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusEnd: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - line: Optional[bool | dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + line: Optional[Map | bool | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radiusOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radiusOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - thetaOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + thetaOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, thickness: Optional[float] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, - x2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - xOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + x2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + xOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, - y2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - yOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + y2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + yOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'text' (see :class:`MarkDef`).""" @@ -1949,118 +1913,114 @@ def mark_text( def mark_tick( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, bandSize: Optional[float] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - clip: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + clip: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusEnd: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusEnd: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - line: Optional[bool | dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + line: Optional[Map | bool | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radiusOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radiusOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - thetaOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + thetaOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, thickness: Optional[float] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, - x2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - xOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + x2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + xOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, - y2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - yOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + y2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + yOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'tick' (see :class:`MarkDef`).""" @@ -2162,118 +2122,114 @@ def mark_tick( def mark_trail( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, bandSize: Optional[float] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - clip: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + clip: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusEnd: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusEnd: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - line: Optional[bool | dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + line: Optional[Map | bool | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radiusOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radiusOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - thetaOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + thetaOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, thickness: Optional[float] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, - x2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - xOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + x2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + xOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, - y2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - yOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + y2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + yOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'trail' (see :class:`MarkDef`).""" @@ -2375,118 +2331,114 @@ def mark_trail( def mark_circle( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, bandSize: Optional[float] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - clip: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + clip: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusEnd: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusEnd: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - line: Optional[bool | dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + line: Optional[Map | bool | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radiusOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radiusOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - thetaOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + thetaOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, thickness: Optional[float] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, - x2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - xOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + x2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + xOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, - y2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - yOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + y2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + yOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'circle' (see :class:`MarkDef`).""" @@ -2588,118 +2540,114 @@ def mark_circle( def mark_square( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, bandSize: Optional[float] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - clip: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + clip: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusEnd: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusEnd: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - line: Optional[bool | dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + line: Optional[Map | bool | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radiusOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radiusOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - thetaOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + thetaOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, thickness: Optional[float] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, - x2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - xOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + x2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + xOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, - y2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - yOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + y2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + yOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'square' (see :class:`MarkDef`).""" @@ -2801,118 +2749,114 @@ def mark_square( def mark_geoshape( self, - align: Optional[dict | Parameter | SchemaBase | Align_T] = Undefined, - angle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - aria: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - ariaRole: Optional[str | dict | Parameter | SchemaBase] = Undefined, - ariaRoleDescription: Optional[str | dict | Parameter | SchemaBase] = Undefined, - aspect: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + align: Optional[Map | Parameter | SchemaBase | Align_T] = Undefined, + angle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + aria: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + ariaRole: Optional[Map | str | Parameter | SchemaBase] = Undefined, + ariaRoleDescription: Optional[Map | str | Parameter | SchemaBase] = Undefined, + aspect: Optional[Map | bool | Parameter | SchemaBase] = Undefined, bandSize: Optional[float] = Undefined, - baseline: Optional[dict | Parameter | SchemaBase | TextBaseline_T] = Undefined, + baseline: Optional[Map | Parameter | SchemaBase | TextBaseline_T] = Undefined, binSpacing: Optional[float] = Undefined, - blend: Optional[dict | Parameter | SchemaBase | Blend_T] = Undefined, - clip: Optional[bool | dict | Parameter | SchemaBase] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + blend: Optional[Map | Parameter | SchemaBase | Blend_T] = Undefined, + clip: Optional[Map | bool | Parameter | SchemaBase] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, continuousBandSize: Optional[float] = Undefined, - cornerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, + cornerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusBottomLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, cornerRadiusBottomRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cornerRadiusEnd: Optional[dict | float | Parameter | SchemaBase] = Undefined, - cornerRadiusTopLeft: Optional[ - dict | float | Parameter | SchemaBase + Map | float | Parameter | SchemaBase ] = Undefined, + cornerRadiusEnd: Optional[Map | float | Parameter | SchemaBase] = Undefined, + cornerRadiusTopLeft: Optional[Map | float | Parameter | SchemaBase] = Undefined, cornerRadiusTopRight: Optional[ - dict | float | Parameter | SchemaBase - ] = Undefined, - cursor: Optional[dict | Parameter | SchemaBase | Cursor_T] = Undefined, - description: Optional[str | dict | Parameter | SchemaBase] = Undefined, - dir: Optional[dict | Parameter | SchemaBase | TextDirection_T] = Undefined, - discreteBandSize: Optional[dict | float | SchemaBase] = Undefined, - dx: Optional[dict | float | Parameter | SchemaBase] = Undefined, - dy: Optional[dict | float | Parameter | SchemaBase] = Undefined, - ellipsis: Optional[str | dict | Parameter | SchemaBase] = Undefined, + Map | float | Parameter | SchemaBase + ] = Undefined, + cursor: Optional[Map | Parameter | SchemaBase | Cursor_T] = Undefined, + description: Optional[Map | str | Parameter | SchemaBase] = Undefined, + dir: Optional[Map | Parameter | SchemaBase | TextDirection_T] = Undefined, + discreteBandSize: Optional[Map | float | SchemaBase] = Undefined, + dx: Optional[Map | float | Parameter | SchemaBase] = Undefined, + dy: Optional[Map | float | Parameter | SchemaBase] = Undefined, + ellipsis: Optional[Map | str | Parameter | SchemaBase] = Undefined, fill: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - fillOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + fillOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, filled: Optional[bool] = Undefined, - font: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - fontStyle: Optional[str | dict | Parameter | SchemaBase] = Undefined, - fontWeight: Optional[dict | Parameter | SchemaBase | FontWeight_T] = Undefined, - height: Optional[dict | float | Parameter | SchemaBase] = Undefined, - href: Optional[str | dict | Parameter | SchemaBase] = Undefined, - innerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - interpolate: Optional[ - dict | Parameter | SchemaBase | Interpolate_T - ] = Undefined, + font: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + fontStyle: Optional[Map | str | Parameter | SchemaBase] = Undefined, + fontWeight: Optional[Map | Parameter | SchemaBase | FontWeight_T] = Undefined, + height: Optional[Map | float | Parameter | SchemaBase] = Undefined, + href: Optional[Map | str | Parameter | SchemaBase] = Undefined, + innerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + interpolate: Optional[Map | Parameter | SchemaBase | Interpolate_T] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - limit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - line: Optional[bool | dict | SchemaBase] = Undefined, - lineBreak: Optional[str | dict | Parameter | SchemaBase] = Undefined, - lineHeight: Optional[dict | float | Parameter | SchemaBase] = Undefined, - minBandSize: Optional[dict | float | Parameter | SchemaBase] = Undefined, - opacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, + limit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + line: Optional[Map | bool | SchemaBase] = Undefined, + lineBreak: Optional[Map | str | Parameter | SchemaBase] = Undefined, + lineHeight: Optional[Map | float | Parameter | SchemaBase] = Undefined, + minBandSize: Optional[Map | float | Parameter | SchemaBase] = Undefined, + opacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, order: Optional[bool | None] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outerRadius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - padAngle: Optional[dict | float | Parameter | SchemaBase] = Undefined, - point: Optional[bool | dict | SchemaBase | Literal["transparent"]] = Undefined, - radius: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radius2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - radiusOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - shape: Optional[str | dict | Parameter | SchemaBase] = Undefined, - size: Optional[dict | float | Parameter | SchemaBase] = Undefined, - smooth: Optional[bool | dict | Parameter | SchemaBase] = Undefined, + outerRadius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + padAngle: Optional[Map | float | Parameter | SchemaBase] = Undefined, + point: Optional[Map | bool | SchemaBase | Literal["transparent"]] = Undefined, + radius: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radius2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + radiusOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + shape: Optional[Map | str | Parameter | SchemaBase] = Undefined, + size: Optional[Map | float | Parameter | SchemaBase] = Undefined, + smooth: Optional[Map | bool | Parameter | SchemaBase] = Undefined, stroke: Optional[ - str | dict | None | Parameter | SchemaBase | ColorName_T + Map | str | None | Parameter | SchemaBase | ColorName_T ] = Undefined, - strokeCap: Optional[dict | Parameter | SchemaBase | StrokeCap_T] = Undefined, + strokeCap: Optional[Map | Parameter | SchemaBase | StrokeCap_T] = Undefined, strokeDash: Optional[ - dict | Parameter | SchemaBase | Sequence[float] - ] = Undefined, - strokeDashOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeJoin: Optional[dict | Parameter | SchemaBase | StrokeJoin_T] = Undefined, - strokeMiterLimit: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeOpacity: Optional[dict | float | Parameter | SchemaBase] = Undefined, - strokeWidth: Optional[dict | float | Parameter | SchemaBase] = Undefined, + Map | Parameter | SchemaBase | Sequence[float] + ] = Undefined, + strokeDashOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeJoin: Optional[Map | Parameter | SchemaBase | StrokeJoin_T] = Undefined, + strokeMiterLimit: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeOpacity: Optional[Map | float | Parameter | SchemaBase] = Undefined, + strokeWidth: Optional[Map | float | Parameter | SchemaBase] = Undefined, style: Optional[str | Sequence[str]] = Undefined, - tension: Optional[dict | float | Parameter | SchemaBase] = Undefined, - text: Optional[str | dict | Parameter | SchemaBase | Sequence[str]] = Undefined, - theta: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2: Optional[dict | float | Parameter | SchemaBase] = Undefined, - theta2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - thetaOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + tension: Optional[Map | float | Parameter | SchemaBase] = Undefined, + text: Optional[Map | str | Parameter | SchemaBase | Sequence[str]] = Undefined, + theta: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2: Optional[Map | float | Parameter | SchemaBase] = Undefined, + theta2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + thetaOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, thickness: Optional[float] = Undefined, timeUnitBandPosition: Optional[float] = Undefined, timeUnitBandSize: Optional[float] = Undefined, tooltip: Optional[ - str | bool | dict | None | float | Parameter | SchemaBase + Map | str | bool | None | float | Parameter | SchemaBase ] = Undefined, - url: Optional[str | dict | Parameter | SchemaBase] = Undefined, - width: Optional[dict | float | Parameter | SchemaBase] = Undefined, + url: Optional[Map | str | Parameter | SchemaBase] = Undefined, + width: Optional[Map | float | Parameter | SchemaBase] = Undefined, x: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, x2: Optional[ - dict | float | Parameter | SchemaBase | Literal["width"] + Map | float | Parameter | SchemaBase | Literal["width"] ] = Undefined, - x2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - xOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + x2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + xOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, y: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, y2: Optional[ - dict | float | Parameter | SchemaBase | Literal["height"] + Map | float | Parameter | SchemaBase | Literal["height"] ] = Undefined, - y2Offset: Optional[dict | float | Parameter | SchemaBase] = Undefined, - yOffset: Optional[dict | float | Parameter | SchemaBase] = Undefined, + y2Offset: Optional[Map | float | Parameter | SchemaBase] = Undefined, + yOffset: Optional[Map | float | Parameter | SchemaBase] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'geoshape' (see :class:`MarkDef`).""" @@ -3014,18 +2958,18 @@ def mark_geoshape( def mark_boxplot( self, - box: Optional[bool | dict | SchemaBase] = Undefined, + box: Optional[Map | bool | SchemaBase] = Undefined, clip: Optional[bool] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, extent: Optional[float | Literal["min-max"]] = Undefined, invalid: Optional[None | SchemaBase | MarkInvalidDataMode_T] = Undefined, - median: Optional[bool | dict | SchemaBase] = Undefined, + median: Optional[Map | bool | SchemaBase] = Undefined, opacity: Optional[float] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - outliers: Optional[bool | dict | SchemaBase] = Undefined, - rule: Optional[bool | dict | SchemaBase] = Undefined, + outliers: Optional[Map | bool | SchemaBase] = Undefined, + rule: Optional[Map | bool | SchemaBase] = Undefined, size: Optional[float] = Undefined, - ticks: Optional[bool | dict | SchemaBase] = Undefined, + ticks: Optional[Map | bool | SchemaBase] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'boxplot' (see :class:`BoxPlotDef`).""" @@ -3054,14 +2998,14 @@ def mark_boxplot( def mark_errorbar( self, clip: Optional[bool] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, extent: Optional[SchemaBase | ErrorBarExtent_T] = Undefined, opacity: Optional[float] = Undefined, orient: Optional[SchemaBase | Orientation_T] = Undefined, - rule: Optional[bool | dict | SchemaBase] = Undefined, + rule: Optional[Map | bool | SchemaBase] = Undefined, size: Optional[float] = Undefined, thickness: Optional[float] = Undefined, - ticks: Optional[bool | dict | SchemaBase] = Undefined, + ticks: Optional[Map | bool | SchemaBase] = Undefined, **kwds, ) -> Self: """Set the chart's mark to 'errorbar' (see :class:`ErrorBarDef`).""" @@ -3086,10 +3030,10 @@ def mark_errorbar( def mark_errorband( self, - band: Optional[bool | dict | SchemaBase] = Undefined, - borders: Optional[bool | dict | SchemaBase] = Undefined, + band: Optional[Map | bool | SchemaBase] = Undefined, + borders: Optional[Map | bool | SchemaBase] = Undefined, clip: Optional[bool] = Undefined, - color: Optional[str | dict | Parameter | SchemaBase | ColorName_T] = Undefined, + color: Optional[Map | str | Parameter | SchemaBase | ColorName_T] = Undefined, extent: Optional[SchemaBase | ErrorBarExtent_T] = Undefined, interpolate: Optional[SchemaBase | Interpolate_T] = Undefined, opacity: Optional[float] = Undefined,