
    gT                      U d dl mZ d dlZd dlmZmZmZmZmZm	Z	 ej                  dk\  rd dlmZ nd dlmZ d dlmc mZ d dlmZ d dlmZ d dlmZmZ d	d
lmZ d	dl erNd dlmZ d dlmZmZ d dl m!Z! d dl"m#Z#m$Z$m%Z% d dl&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z. ej                  dk\  rd dlm/Z/ nd dlm/Z/ g dZ0 G d d      Z1 G d d      Z2 G d d      Z3e G d de1ejh                               Z5e G d de3ejl                               Z7e G d de2ejp                               Z9e G d  d!e1ejt                               Z;e G d" d#e3ejx                               Z=e G d$ d%e2ej|                               Z?e G d& d'e1ej                               ZAe G d( d)e1ej                               ZCe G d* d+e2ej                               ZEe G d, d-e1ej                               ZGe G d. d/e1ej                               ZIe G d0 d1e1ejt                               ZJe G d2 d3e3ejx                               ZKe G d4 d5e2ej|                               ZLe G d6 d7e1ejh                               ZMe G d8 d9e3ejl                               ZNe G d: d;e2ejp                               ZOe G d< d=e1ej                               ZPe G d> d?e2ej                               ZQe G d@ dAe1ej                               ZRe G dB dCe1ej                               ZTe G dD dEe3ej                               ZVe G dF dGe1ej                               ZXe G dH dIe3ej                               ZYe G dJ dKe2ej                               Z[e G dL dMe1ej                               Z\e G dN dOe3ej                               Z]e G dP dQe1ej                               Z^e G dR dSe3ej                               Z_e G dT dUe2ej                               Z`e G dV dWe1ejh                               Zae G dX dYe3ejl                               Zbe G dZ d[e2ejp                               Zce G d\ d]e1ej                               Zee G d^ d_e2ej                               Zge G d` dae1ej                               Zie G db dce3ej                               Zke G dd dee2ej                               Zle G df dge1ej                               Zme G dh die3ej                               Zne G dj dke2ej                               Zoe G dl dme1ej                               Zpe G dn doe1ej                               Zre G dp dqe3ej                               Zte G dr dse2ej                               Zve G dt due1ejh                               Zwe G dv dwe3ejl                               Zxe G dx dye2ejp                               Zye G dz d{e1ejt                               Zze G d| d}e3ejx                               Z{e G d~ de2ej|                               Z|e G d de1ej                               Z~e G d de3ej                               Ze G d de2ej                               Ze G d de1ejh                               Ze G d de3ejl                               Ze G d de2ejp                               Ze G d de1ejh                               Ze G d de3ejl                               Ze G d de2ejp                               Ze G d de1ej                               Ze G d de3ej                               Ze G d de2ej                               Ze G d de1ej                               Ze G d de3ej                               Ze G d de2ej                               Ze G d de1ej                               Ze G d de3ej                               Ze G d de2ej                               Ze G d de1ej                               Ze G d de2ej                               Ze G d de1ej                               Ze G d de2ej                               Ze G d de1ej2                               Ze G d de3ej6                               Ze G d de2ej                               Ze G d de1ej                               Ze G d de3ej                               Ze G d de2ej                               Ze G d de1ej                               Ze G d de2ejD                               Ze G d de1ej                               Ze G d de2ejD                               Ze G d de1ejL                               Ze G d de3ejP                               Ze G dĄ de2ejD                               Ze G dƄ de1ej2                               Ze G dȄ de3ej6                               Ze G dʄ de2ej                               Ze G d̄ de1ej                               Ze G d΄ de3ej                               Ze G dЄ de2ej                               Ze G d҄ de1ej                               Ze G dԄ de2ejD                               Ze G dք de1ej                               Ze G d؄ de2ejD                               Ze G dڄ de1ejL                               Ze G d܄ de3ejP                               Ze G dބ de2ejD                               Zee5e7e9f   Zded<   ee;e=e?f   Zded<   eeCeEf   Zded<   eeJeKeLf   Zded<   eeMeNeOf   Zded<   eePeQf   Zded<   eeTeVf   Zded<   eeXeYe[f   Zded<   ee\e]f   Zded<   ee^e_e`f   Zded<   eeaebecf   Zded<   eeeegf   Zded<   eeiekelf   Zded<   eemeneof   Zded<   eeretevf   Zded<   eewexeyf   Zded<   eeze{e|f   Zded<   ee~eef   Zded<   eeeef   Zded<   eeeef   Zded<   eeeef   Zded<   eeeef   Zded<   eeeef   Zded<   eeef   Zded<   eeef   Zded<   eeeef   Zded<   eeeef   Zded<   eeef   Zded<   eeef   Zded<   eeeef   Zded<   eeeef   Zded<   eeeef   Zded <   eeef   Zded<   eeef   Zded<   eeeef   Zded<   eeedef   Zded<   eeedef   Zded<   eeeAdef   Zded<   eeedef   Zded<   eeeeGdef      Zded	<   eeeIdef   Zded
<   eeedef   Zded<   eeedef   Zded<   eeedef   Zded<   eeeRdef   Zded<   eeedef   Zded<   eeedef   Zded<   eeedef   Zded<   eeedef   Zded<   eeeÐdef   Zded<   eeeeĐdef      Zded<   eeeŐdef   Zded<   eeeƐdef   Zded<   eeepdef   Zded<   eeeǐdef   Zded<   eeeȐdef   Zded<   eeeɐdef   Zded<   eeeʐdef   Zded<   eeeːdef   Zded<   eee̐def   Zded<   eee͐def   Zded<   eeeΐdef   Zded<   eeeϐdef   Zded <   eeeeАdef      Zded!<   eeeѐdef   Zded"<   eeeҐdef   Zded#<   eeeӐdef   Zded$<   eeeԐdef   Zded%<   eeeՐdef   Z ded&<   eee֐def   Zded'<   eeeאdef   Zded(<   eeeؐdef   Zded)<   eeeِdef   Zded*<   eeeڐdef   Zded+<   eeeېdef   Zded,<    G d- d.      Z G d/ d0ed12      Zy(3      )annotationsN)TYPE_CHECKINGAnyLiteral	TypedDictUnionoverload)   
   )	TypeAlias)infer_encoding_types)parse_shorthand)	Undefinedwith_property_setters   )core)*)Sequence)	Parameter
SchemaBase)Optional)BinImputeIntoCondition)AxisDateTimeEncodingSortFieldHeaderLegend	RepeatRefScaleTimeUnitParams)r
      )Self)gX2Y2Angle
AngleDatum
AngleValueColor
ColorDatum
ColorValueColumnDatumChannelMixinDescriptionDescriptionValueDetailFacetFieldChannelMixinFill	FillDatumFillOpacityFillOpacityDatumFillOpacityValue	FillValueHref	HrefValueKeyLatitude	Latitude2Latitude2DatumLatitude2ValueLatitudeDatum	Longitude
Longitude2Longitude2DatumLongitude2ValueLongitudeDatumOpacityOpacityDatumOpacityValueOrder
OrderValueRadiusRadius2Radius2DatumRadius2ValueRadiusDatumRadiusValueRowShape
ShapeDatum
ShapeValueSize	SizeDatum	SizeValueStroke
StrokeDashStrokeDashDatumStrokeDashValueStrokeDatumStrokeOpacityStrokeOpacityDatumStrokeOpacityValueStrokeValueStrokeWidthStrokeWidthDatumStrokeWidthValueText	TextDatum	TextValueThetaTheta2Theta2DatumTheta2Value
ThetaDatum
ThetaValueTooltipTooltipValueUrlUrlValueValueChannelMixinXX2DatumX2ValueXDatumXErrorXError2XError2ValueXErrorValueXOffsetXOffsetDatumXOffsetValueXValueYY2DatumY2ValueYDatumYErrorYError2YError2ValueYErrorValueYOffsetYOffsetDatumYOffsetValueYValuer   c                  B     e Zd ZU ded<   	 	 	 d	 	 	 	 	 	 	 d fdZ xZS )r3   str_encoding_namec                j   |xs i }|xs g }| j                  d      }| j                  d      }|t        ur2|t        ur*| j                  j                   d| d| d}t	        |      t        |t        t        f      r^| j                  j                         }|j                  d       |D cg c]'  } | j                  |fi |j                  |||      ) c}S |t        u ri }	nt        |t              r|j                  dd       }
t        ||
      }	d	| j                  v }d	|	v }| j                  d	      t        u}|s|	j                  d	d        nC|sA|s?t        |
t        j                         rd
| d}t	        |      | d}t	        |      d|i}	|	|d<   t"        | -  |||      S c c}w )N	shorthandfieldz specifies both shorthand=z and field=z. validateignorecontextdata)r   typez-Unable to determine data type for the field "z"; verify that the field name is not misspelled. If you are referencing a field from a transform, also confirm that the data type is specified correctly.z encoding field is specified without a type; the type cannot be automatically inferred because the data is not specified as a pandas.DataFrame.parsed_shorthand)_getr   	__class____name__
ValueError
isinstancetuplelist_kwdscopypopto_dictr   getr   nw	DataFramesuper)selfr   r   r   r   r   msgkwdsshparsedr   type_requiredtype_in_shorthandtype_defined_explicitlyr   s                 W/var/www/openai/venv/lib/python3.12/site-packages/altair/vegalite/v5/schema/channels.pyr   zFieldChannelMixin.to_dict   s    -R2IIk*			'"I%%y*@^^,,--G	{R]^c]ddfgCS/!i%/::??$DHH[!
 $	 $B r*T*22%fg 3  $	  	!F	3''.{{64'@D$YT:F"djj0M && 0&*ii&7y&H#  

64('+BdBLL1G	{ SS S  %S/) %+ &K K 
 %S/) y)F&,"#wQQSs   /,F0TNN)r   boolr   list[str] | Noner   dict[str, Any] | Nonereturnzdict | list[dict]r   
__module____qualname____annotations__r   __classcell__r   s   @r   r3   r3      sJ     #')-	<R<R !<R '	<R
 
<R <R    r3   c                  B     e Zd ZU ded<   	 	 	 d	 	 	 	 	 	 	 d fdZ xZS )rr   r   r   c                Z   |xs i }|xs g }| j                  dt              }| }|t        urit        |t        j                        rnNd|v rJd|vrFt        |d   |j                  dd             }| j                  dg      }|d   j                  |       t        t        |/  |||      S )N	conditionr   r   r   deepr   )r   r   r   r   r   r   r   r   updater   rr   r   )r   r   r   r   r   r   r   r   s          r   r   zValueChannelMixin.to_dict   s     -R2IIk95	I%)T__5I%&	*A&y'97;;vt;TUyy{my4[!((.&5fg 6 
 	
r   r   r   r   r   r   r   r   r   dictr   r   s   @r   rr   rr      sD     #')-	

 !
 '	

 

 
r   rr   c                  B     e Zd ZU ded<   	 	 	 d	 	 	 	 	 	 	 d fdZ xZS )r.   r   r   c                x    |xs i }|xs g }| j                  dt              }| }t        t        |  |||      S )Ndatumr   )r   r   r   r.   r   )r   r   r   r   r   r   r   s         r   r   zDatumChannelMixin.to_dict   sM     -R2		'9-&5fg 6 
 	
r   r   r   r   r   s   @r   r.   r.      sD     #')-	

 !
 '	

 

 
r   r.   c            D      
    e Zd ZdZdZdZed&d       Zeedd'd       Zeedd(d       Zed)d	       Z	ed*d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d+d       Z
eeed	 	 	 	 	 d,d       Zeeeed	 	 	 	 	 	 	 d-d       Zed.d       Zed/d       Zeed	 	 	 d0d       Zed1d       ZeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedB	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d2d       Zed3d       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d4d       Ze	 	 	 	 d5d       Zeeeed	 	 	 	 	 	 	 d6d       Zeeed	 	 	 	 	 d7d       Ze	 	 	 	 d8d        Zeeeeeed!	 	 	 	 	 	 	 	 	 	 	 d9d"       Zed:d#       Zed;d$       Zeeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d< fd%Z xZS )=r'   a=  
    Angle schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    legend : dict, :class:`Legend`, None
        An object defining properties of the legend. If ``null``, the legend for the
        encoding channel will be removed.

        **Default value:** If undefined, default `legend properties
        <https://vega.github.io/vega-lite/docs/legend.html>`__ are applied.

        **See also:** `legend <https://vega.github.io/vega-lite/docs/legend.html>`__
        documentation.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fanglec                    y N r   _s     r   	aggregatezAngle.aggregate      =@r   argmaxc                    y r   r   r   r   s     r   r   zAngle.aggregate      UXr   argminc                    y r   r   r   r   s     r   r   zAngle.aggregate  r   r   c                    y r   r   r   s     r   bandPositionzAngle.bandPosition      25r   c                    y r   r   r   s     r   binz	Angle.bin      58r   
anchorbasebinneddivideextentmaxbinsminstepnicestepstepsc       
             y r   r   r   r   r   r   r   r   r   r   r   r   r   s              r   r   z	Angle.bin       r   testvaluec                    y r   r   r   r   r   s      r   r   zAngle.condition       r   emptyparamr   c                    y r   r   r   r   r   r   s       r   r   zAngle.condition       r   c                    y r   r   r   s     r   r   zAngle.condition  r   r   c                    y r   r   r   s     r   r   zAngle.field  r   r   repeatc                    y r   r   r   r   s     r   r   zAngle.field      
 r   c                    y r   r   r   s     r   legendzAngle.legend      47r   Baria
clipHeightcolumnPaddingcolumnscornerRadiusdescription	direction	fillColorformat
formatTypegradientLengthgradientOpacitygradientStrokeColorgradientStrokeWidthgradientThickness	gridAlign
labelAlignlabelBaseline
labelColor	labelExpr	labelFontlabelFontSizelabelFontStylelabelFontWeight
labelLimitlabelOffsetlabelOpacitylabelOverlaplabelPaddinglabelSeparationlegendXlegendYoffsetorientpadding
rowPaddingstrokeColor
symbolDashsymbolDashOffsetsymbolFillColorsymbolLimitsymbolOffsetsymbolOpacity
symbolSizesymbolStrokeColorsymbolStrokeWidth
symbolType	tickCounttickMinSteptitle
titleAligntitleAnchortitleBaseline
titleColor	titleFonttitleFontSizetitleFontStyletitleFontWeight
titleLimittitleLineHeighttitleOpacitytitleOrienttitlePaddingr   valueszindexc       B             y r   r   Cr   r  r  r  r  r  r	  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r!  r"  r#  r$  r%  r&  r'  r(  r)  r*  r+  r,  r-  r.  r/  r0  r1  r2  r3  r4  r5  r6  r7  r8  r9  r:  r;  r<  r=  r>  r?  r@  rA  rB  r   rC  rD  sC                                                                      r   r  zAngle.legend!      T r   c                    y r   r   r   s     r   scalezAngle.scale  r   r   alignr   binsclampconstantdomain	domainMax	domainMid	domainMin	domainRawexponentinterpolater   r&  paddingInnerpaddingOuterrangerangeMaxrangeMinreverseroundschemer   zeroc                    y r   r   r   rK  r   rL  rM  rN  rO  rP  rQ  rR  rS  rT  rU  r   r&  rV  rW  rX  rY  rZ  r[  r\  r]  r   r^  s                            r   rI  zAngle.scale      b r   c                    y r   r   r   s     r   sortz
Angle.sort       r   r   oporderc                    y r   r   r   r   rf  rg  s       r   rc  z
Angle.sort  r   r   encodingrg  c                    y r   r   r   rk  rg  s      r   rc  z
Angle.sort  r   r   c                    y r   r   r   s     r   timeUnitzAngle.timeUnit  r   r   r   r   r   unitutcc                    y r   r   r   r   r   r   rq  rr  s         r   ro  zAngle.timeUnit       r   c                    y r   r   r   s     r   r5  zAngle.title      @Cr   c                    y r   r   r   s     r   r   z
Angle.type      36r   c                >    t        |   d|||||||||	|
||d| y N)r   r   r   r   r   r   r  rI  rc  ro  r5  r   r   r   __init__r   r   r   r   r   r   r   r  rI  rc  ro  r5  r   r   r   s                 r   r}  zAngle.__init__  E    6 	 	
%	
 	
r   )r   NonArgAggregateOp_Tr   r'   )r   Optional[str | SchemaBase]r   r'   )r   r  r   r'   )r   floatr   r'   )r   bool | Bin | Noner   r'   )r   Optional[float]r   r  r   Optional[bool]r   Optional[Sequence[float]]r   8Optional[Parameter | SchemaBase | Sequence[float] | Map]r   r  r   r  r   r  r   r  r   r  r   r'   )r    Optional[str | SchemaBase | Map]r   .Optional[float | Parameter | SchemaBase | Map]r   r'   )r   r  r   r  r   r  r   r'   )r   +list[core.ConditionalValueDefnumberExprRef]r   r'   )r   str | RepeatRefr   r'   )r   5Optional[Literal['row', 'column', 'repeat', 'layer']]r   r'   )r   Legend | Noner   r'   )r  -Optional[bool | Parameter | SchemaBase | Map]r  r  r  r  r  r  r  r  r	  ,Optional[str | Parameter | SchemaBase | Map]r
  $Optional[SchemaBase | Orientation_T]r  AOptional[str | Parameter | SchemaBase | Map | ColorName_T | None]r  r  r  Optional[str]r  r  r  r  r  r  r  r  r  r  r  6Optional[Parameter | SchemaBase | Map | LayoutAlign_T]r  0Optional[Parameter | SchemaBase | Map | Align_T]r  7Optional[Parameter | SchemaBase | Map | TextBaseline_T]r  r  r  r  r  r  r  r  r  r  r  5Optional[Parameter | SchemaBase | Map | FontWeight_T]r  r  r  r  r  r  r  KOptional[bool | Parameter | SchemaBase | Literal['greedy', 'parity'] | Map]r   r  r!  r  r"  r  r#  r  r$  r  r%  %Optional[SchemaBase | LegendOrient_T]r&  r  r'  r  r(  r  r)  r  r*  r  r+  r  r,  r  r-  r  r.  r  r/  r  r0  r  r1  r  r2  r  r3  ?Optional[float | Parameter | SchemaBase | Map | TimeInterval_T]r4  r  r5  1Optional[str | SchemaBase | Sequence[str] | None]r6  r  r7  6Optional[Parameter | SchemaBase | Map | TitleAnchor_T]r8  r  r9  r  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  r@  r  rA  1Optional[Parameter | SchemaBase | Map | Orient_T]rB  r  r   'Optional[Literal['symbol', 'gradient']]rC  Optional[Parameter | SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] | Sequence[Temporal | SchemaBase | Map] | Map]rD  r  r   r'   )r   Scale | Noner   r'   )2rK  r  r   r  rL  ,Optional[SchemaBase | Sequence[float] | Map]rM  r  rN  r  rO  Optional[Parameter | SchemaBase | Literal['unaggregated'] | Sequence[str | bool | float | Temporal | Parameter | SchemaBase | Map | None] | Map]rP  9Optional[float | Temporal | Parameter | SchemaBase | Map]rQ  r  rR  r  rS  &Optional[Parameter | SchemaBase | Map]rT  r  rU  ?Optional[Parameter | SchemaBase | Map | ScaleInterpolateEnum_T]r   FOptional[bool | float | Parameter | SchemaBase | Map | TimeInterval_T]r&  r  rV  r  rW  r  rX  qOptional[SchemaBase | Sequence[str | float | Parameter | SchemaBase | Sequence[float] | Map] | Map | RangeEnum_T]rY  4Optional[str | float | Parameter | SchemaBase | Map]rZ  r  r[  r  r\  r  r]  6Optional[Parameter | SchemaBase | Map | ColorScheme_T]r   "Optional[SchemaBase | ScaleType_T]r^  r  r   r'   )r   iSequence[str] | Sequence[bool] | Sequence[float] | Sequence[DateTime | Temporal] | AllSortString_T | Noner   r'   )r   r  rf  *Optional[SchemaBase | NonArgAggregateOp_T]rg  )Optional[SchemaBase | SortOrder_T | None]r   r'   )rk  &Optional[SchemaBase | SortByChannel_T]rg  r  r   r'   )r   FTimeUnitParams | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_Tr   r'   )r   r  r   r  r   r  rq  9Optional[SchemaBase | MultiTimeUnit_T | SingleTimeUnit_T]rr  r  r   r'   )r   str | Sequence[str] | Noner   r'   )r   StandardType_Tr   r'   r   0Optional[str | SchemaBase | Sequence[str] | Map]r   0Optional[SchemaBase | Map | NonArgAggregateOp_T]r   r  r   (Optional[bool | SchemaBase | Map | None]r   7Optional[SchemaBase | Sequence[SchemaBase | Map] | Map]r   r  r  !Optional[SchemaBase | Map | None]rI  r  rc  Optional[SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] | Sequence[Temporal | SchemaBase | Map] | Map | AllSortString_T | None]ro  ROptional[SchemaBase | Map | MultiTimeUnit_T | BinnedTimeUnit_T | SingleTimeUnit_T]r5  r  r   %Optional[SchemaBase | StandardType_T]r   r   r   __doc__ _class_is_valid_at_instantiationr   r	   r   r   r   r   r   r   r  rI  rc  ro  r5  r   r}  r   r   s   @r   r'   r'     s	   Yv (-$N@ @@IX X@IX X5 58 8 #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
   2;@I	 / >	
 
   !*,5@I  *	
 > 
  X X8 8 IR F 
	 
 7 7 ?HENHQBKGPDM:C 3<$-IRJS NWLULUGP  #,BKHQGP ENFOGP GPJSBKBKAJ8ABKEN  KT FOGPHQEN LUCL FOCLGPNW  BKHQGP ENJSGPIRGP8A "+Qi <i C	i
 Fi @i Ei Bi 8i
i 1i "i Gi  H!i"
#i( L)i* J+i, J-i. E/i0
1i6
7i< !=i> @?i@ FAiB ECiD
EiJ CKiL DMiN EOiP
QiV EWiX HYiZ @[i\ @]i^ ?_i` 6aib @cid Ceif
gil
mir Isit
uiz D{i| E}i~ Fi@ CAiB
CiH JIiJ AKiL
MiR DSiT AUiV EWiX LYiZ
[i`
aif @gih Fiij Ekil
mir Csit Huiv Ewix Gyiz E{i| 6}i~
iP  QiR 
Si iT 5 5 AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b 		 
	 	  3<9B;D 0 7	
 9 
   <E;D	 9 9	
 
  Q 
	 
  "+#, )JS'  !	
  H  
  C C6 6 GPFO(18AMV2;4=3<  CL6?1)
C)
 D)
 &	)

 6)
 K)
 0)
 2)
 1)
	
)
(
))
. A/)
0 41)
 )
r   r'   c                       e Zd ZdZdZdZedd       Zeeed	 	 	 	 	 dd       Z	eeeed	 	 	 	 	 	 	 dd       Z	e	 	 	 	 dd	       Z	edd
       Z
edd       Zeeeef	 	 	 	 	 	 	 d fdZ xZS )r(   a  
    AngleDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    datum : str, bool, dict, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr   c                    y r   r   r   s     r   r   zAngleDatum.bandPosition      7:r   r   c                    y r   r   r   s      r   r   zAngleDatum.condition       r   r   c                    y r   r   r   s       r   r   zAngleDatum.condition       r   c                    y r   r   r   s     r   r   zAngleDatum.condition       r   c                    y r   r   r   s     r   r5  zAngleDatum.title      EHr   c                    y r   r   r   s     r   r   zAngleDatum.type      03r   c           	     0    t        |   d|||||d| y N)r   r   r   r5  r   r   r|  r   r   r   r   r5  r   r   r   s          r   r}  zAngleDatum.__init__  0     	 	
%	
 	
r   )r   r  r   r(   )r   r  r   r  r   r(   )r   r  r   r  r   r  r   r(   )r   r  r   r(   )r   r  r   r(   )r   Type_Tr   r(   r   r  r   r  r5  r  r   Optional[SchemaBase | Type_T]r   r   r   r  r  r   r	   r   r   r   r5  r   r}  r   r   s   @r   r(   r(     s(   hT (-$N: : 2;@I	 / >	
 
   !*,5@I  *	
 > 
  <	  H H3 3
 )2MVCL.7
 &
 K	

 A
 ,
 
r   r(   c                      e Zd ZdZdZdZeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd	       Zeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeed	 	 	 	 	 dd       Zeeeed	 	 	 	 	 	 	 dd       Ze	 	 	 	 dd       Zef	 d fdZ	 xZ
S )r)   a  
    AngleValue schema wrapper.

    Parameters
    ----------
    condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`]
        A field definition or one or more value definition(s) with a parameter predicate.
    value : dict, float, :class:`ExprRef`
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr   r   r   r   r   r  rI  rc  r   ro  r5  r   c                    y r   r   r   r   r   r   r   r  rI  rc  r   ro  r5  r   s               r   r   zAngleValue.condition      4 r   r   r   r  rI  r   r5  r   c                    y r   r   r   r   r   r  rI  r   r5  r   s           r   r   zAngleValue.condition       r   r   r   r   r   r   r  r   rI  rc  ro  r5  r   c                    y r   r   r   r   r   r   r   r   r  r   rI  rc  ro  r5  r   s                r   r   zAngleValue.condition      6 r   r   r   r   r  r   rI  r5  r   c                    y r   r   	r   r   r   r   r  r   rI  r5  r   s	            r   r   zAngleValue.condition       r   r   c                    y r   r   r   s      r   r   zAngleValue.condition  r  r   r   c                    y r   r   r   s       r   r   zAngleValue.condition&  r  r   c                    y r   r   r   s     r   r   zAngleValue.condition.  r  r   c                *    t        |   d||d| y N)r   r   r   r|  r   r   r   r   r   s       r   r}  zAngleValue.__init__3       	Bu	BTBr   )r   r  r   r  r   r  r   r  r  r  rI  r  rc  r  r   r  ro  r  r5  r  r   r  r   r)   )r   r  r   DOptional[Temporal | Parameter | SchemaBase | Map | PrimitiveValue_T]r  r  rI  r  r   r  r5  r  r   r  r   r)   )r   r  r   r  r   r  r   r  r   r  r  r  r   r  rI  r  rc  r  ro  r  r5  r  r   r  r   r)   )r   r  r   r  r   r  r  r  r   r  rI  r  r5  r  r   r  r   r)   )r   r  r   r  r   r)   )r   r  r   r  r   r  r   r)   )r   r  r   r)   r   r  r   r   r   r  r  r   r	   r   r   r}  r   r   s   @r   r)   r)     s[    (-$N GP(18A2;4=3< 1: CL6?1 D &	
 6 0 2 1	
& /'(
). A/0 412 
3 4  )2 4=3<1:CL.7 &
	 2 1 / A , 
   GP(18A )2;4=,53<  CL6?3 D &	
 6  0 2 * 1	
*
+0 A12 434 
5 6  )2  )4=,53<CL.7 &
	  2 * 1 A , 
   2;@I	 / >	
 
   !*,5@I  *	
 > 
  <	  NWC KC Cr   r)   c            D          e Zd ZdZdZdZed&d       Zeedd'd       Zeedd(d       Zed)d	       Z	ed*d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d+d       Z
eeed	 	 	 	 	 d,d       Zeeeed	 	 	 	 	 	 	 d-d       Ze	 	 	 	 d.d       Zed/d       Zeed	 	 	 d0d       Zed1d       ZeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedB	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d2d       Zed3d       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d4d       Ze	 	 	 	 d5d       Zeeeed	 	 	 	 	 	 	 d6d       Zeeed	 	 	 	 	 d7d       Ze	 	 	 	 d8d        Zeeeeeed!	 	 	 	 	 	 	 	 	 	 	 d9d"       Zed:d#       Zed;d$       Zeeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d< fd%Z xZS )=r*   a>>  
    Color schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    condition : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    legend : dict, :class:`Legend`, None
        An object defining properties of the legend. If ``null``, the legend for the
        encoding channel will be removed.

        **Default value:** If undefined, default `legend properties
        <https://vega.github.io/vega-lite/docs/legend.html>`__ are applied.

        **See also:** `legend <https://vega.github.io/vega-lite/docs/legend.html>`__
        documentation.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fcolorc                    y r   r   r   s     r   r   zColor.aggregate  r   r   r   c                    y r   r   r   s     r   r   zColor.aggregate!  r   r   r   c                    y r   r   r   s     r   r   zColor.aggregate#  r   r   c                    y r   r   r   s     r   r   zColor.bandPosition%  r   r   c                    y r   r   r   s     r   r   z	Color.bin'  r   r   r   c       
             y r   r   r   s              r   r   z	Color.bin)  r   r   r   c                    y r   r   r   s      r   r   zColor.condition8  r   r   r   c                    y r   r   r   s       r   r   zColor.condition?  r   r   c                    y r   r   r   s     r   r   zColor.conditionG       r   c                    y r   r   r   s     r   r   zColor.fieldK  r   r   r   c                    y r   r   r   s     r   r   zColor.fieldM  r   r   c                    y r   r   r   s     r   r  zColor.legendS  r  r   r  c       B             y r   r   rF  sC                                                                      r   r  zColor.legendU  rG  r   c                    y r   r   r   s     r   rI  zColor.scale  r   r   rJ  c                    y r   r   r`  s                            r   rI  zColor.scale  ra  r   c                    y r   r   r   s     r   rc  z
Color.sort  rd  r   re  c                    y r   r   ri  s       r   rc  z
Color.sort  r   r   rj  c                    y r   r   rm  s      r   rc  z
Color.sort  r   r   c                    y r   r   r   s     r   ro  zColor.timeUnit  r   r   rp  c                    y r   r   rt  s         r   ro  zColor.timeUnit  ru  r   c                    y r   r   r   s     r   r5  zColor.title  rw  r   c                    y r   r   r   s     r   r   z
Color.type   ry  r   c                >    t        |   d|||||||||	|
||d| y r{  r|  r~  s                 r   r}  zColor.__init__#  r  r   )r   r  r   r*   )r   r  r   r*   )r   r  r   r*   )r   r  r   r*   )r   r  r   r*   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r*   )r   r  r   3Optional[str | Parameter | SchemaBase | Map | None]r   r*   )r   r  r   r  r   r  r   r*   )r   7list[core.ConditionalValueDefGradientstringnullExprRef]r   r*   )r   r  r   r*   )r   r  r   r*   )r   r  r   r*   )r  r  r  r  r  r  r  r  r  r  r	  r  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r!  r  r"  r  r#  r  r$  r  r%  r  r&  r  r'  r  r(  r  r)  r  r*  r  r+  r  r,  r  r-  r  r.  r  r/  r  r0  r  r1  r  r2  r  r3  r  r4  r  r5  r  r6  r  r7  r  r8  r  r9  r  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  r@  r  rA  r  rB  r  r   r  rC  r  rD  r  r   r*   )r   r  r   r*   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   r*   )r   r  r   r*   )r   r  rf  r  rg  r  r   r*   )rk  r  rg  r  r   r*   )r   r  r   r*   )r   r  r   r  r   r  rq  r  rr  r  r   r*   )r   r  r   r*   )r   r  r   r*   r  r  r   s   @r   r*   r*   <  s	   
Yv (-$N@ @@IX X@IX X5 58 8 #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
   2;EN	 / C	
 
   !*,5EN  *	
 C 
  H	  8 8 IR F 
	 
 7 7 ?HENHQBKGPDM:C 3<$-IRJS NWLULUGP  #,BKHQGP ENFOGP GPJSBKBKAJ8ABKEN  KT FOGPHQEN LUCL FOCLGPNW  BKHQGP ENJSGPIRGP8A "+Qi <i C	i
 Fi @i Ei Bi 8i
i 1i "i Gi  H!i"
#i( L)i* J+i, J-i. E/i0
1i6
7i< !=i> @?i@ FAiB ECiD
EiJ CKiL DMiN EOiP
QiV EWiX HYiZ @[i\ @]i^ ?_i` 6aib @cid Ceif
gil
mir Isit
uiz D{i| E}i~ Fi@ CAiB
CiH JIiJ AKiL
MiR DSiT AUiV EWiX LYiZ
[i`
aif @gih Fiij Ekil
mir Csit Huiv Ewix Gyiz E{i| 6}i~
iP  QiR 
Si iT 5 5 AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b 		 
	 	  3<9B;D 0 7	
 9 
   <E;D	 9 9	
 
  Q 
	 
  "+#, )JS'  !	
  H  
  C C6 6 GPFO(18AMV2;4=3<  CL6?1)
C)
 D)
 &	)

 6)
 K)
 0)
 2)
 1)
	
)
(
))
. A/)
0 41)
 )
r   r*   c                       e Zd ZdZdZdZedd       Zeeed	 	 	 	 	 dd       Z	eeeed	 	 	 	 	 	 	 dd       Z	e	 	 	 	 dd	       Z	edd
       Z
edd       Zeeeef	 	 	 	 	 	 	 d fdZ xZS )r+   a  
    ColorDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    datum : str, bool, dict, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zColorDatum.bandPosition  r  r   r   c                    y r   r   r   s      r   r   zColorDatum.condition  r  r   r   c                    y r   r   r   s       r   r   zColorDatum.condition  r  r   c                    y r   r   r   s     r   r   zColorDatum.condition  r  r   c                    y r   r   r   s     r   r5  zColorDatum.title  r  r   c                    y r   r   r   s     r   r   zColorDatum.type  r  r   c           	     0    t        |   d|||||d| y r  r|  r  s          r   r}  zColorDatum.__init__  r  r   )r   r  r   r+   )r   r  r   r  r   r+   )r   r  r   r  r   r  r   r+   )r   r	  r   r+   )r   r  r   r+   )r   r  r   r+   r  r  r   s   @r   r+   r+   O  s*   hT (-$N: : 2;EN	 / C	
 
   !*,5EN  *	
 C 
  H	  H H3 3
 )2MVCL.7
 &
 K	

 A
 ,
 
r   r+   c                      e Zd ZdZdZdZeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd	       Zeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeed	 	 	 	 	 dd       Zeeeed	 	 	 	 	 	 	 dd       Ze	 	 	 	 dd       Zef	 d fdZ	 xZ
S )r,   a$  
    ColorValue schema wrapper.

    Parameters
    ----------
    condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`]
        A field definition or one or more value definition(s) with a parameter predicate.
    value : str, dict, :class:`ExprRef`, :class:`Gradient`, :class:`LinearGradient`, :class:`RadialGradient`, None
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  r  c                    y r   r   r  s               r   r   zColorValue.condition  r  r   r  c                    y r   r   r  s           r   r   zColorValue.condition  r  r   r  c                    y r   r   r  s                r   r   zColorValue.condition+  r  r   r  c                    y r   r   r  s	            r   r   zColorValue.conditionG  r  r   r   c                    y r   r   r   s      r   r   zColorValue.conditionV  r  r   r   c                    y r   r   r   s       r   r   zColorValue.condition]  r  r   c                    y r   r   r   s     r   r   zColorValue.conditione  r  r   c                *    t        |   d||d| y r  r|  r  s       r   r}  zColorValue.__init__j  r  r   )r   r  r   r  r   r  r   r  r  r  rI  r  rc  r  r   r  ro  r  r5  r  r   r  r   r,   )r   r  r   r  r  r  rI  r  r   r  r5  r  r   r  r   r,   )r   r  r   r  r   r  r   r  r   r  r  r  r   r  rI  r  rc  r  ro  r  r5  r  r   r  r   r,   )r   r  r   r  r   r  r  r  r   r  rI  r  r5  r  r   r  r   r,   )r   r  r   r  r   r,   )r   r  r   r  r   r  r   r,   )r   r	  r   r,   r  r  r   s   @r   r,   r,     s]   
 (-$N GP(18A2;4=3< 1: CL6?1 D &	
 6 0 2 1	
& /'(
). A/0 412 
3 4  )2 4=3<1:CL.7 &
	 2 1 / A , 
   GP(18A )2;4=,53<  CL6?3 D &	
 6  0 2 * 1	
*
+0 A12 434 
5 6  )2  )4=,53<CL.7 &
	  2 * 1 A , 
   2;EN	 / C	
 
   !*,5EN  *	
 C 
  H	  NWC KC Cr   r,   c            "      H    e Zd ZdZdZdZedd       Zeed	 	 	 d d       Zeed	 	 	 d!d       Zed"d	       Z	ed#d
       Z
ed$d       Zeeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d%d       Zed&d       Zed'd       Zeed	 	 	 d(d       Zed)d       Zeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d*d       Ze	 	 	 	 d+d       Zeeeed	 	 	 	 	 	 	 d,d       Zed#d       Ze	 	 	 	 d-d       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 d.d       Zed/d       Zed0d       Zeeeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d1 fdZ xZS )2r-   a7  
    Column schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    align : :class:`LayoutAlign`, Literal['all', 'each', 'none']
        The alignment to apply to row/column facet's subplot. The supported string values
        are ``"all"``, ``"each"``, and ``"none"``.

        * For ``"none"``, a flow layout will be used, in which adjacent subviews are simply
          placed one after the other.
        * For ``"each"``, subviews will be aligned into a clean grid structure, but each row
          or column may be of variable size.
        * For ``"all"``, subviews will be aligned and each row or column will be sized
          identically based on the maximum observed size. String values for this property
          will be applied to both grid rows and columns.

        **Default value:** ``"all"``.
    bandPosition : float
        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, :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    center : bool
        Boolean flag indicating if facet's subviews should be centered relative to their
        respective rows or columns.

        **Default value:** ``false``
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    header : dict, :class:`Header`, None
        An object defining properties of a facet's header.
    sort : dict, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` is not supported for ``row`` and ``column``.
    spacing : float
        The spacing in pixels between facet's sub-views.

        **Default value**: Depends on ``"spacing"`` property of `the view composition
        configuration <https://vega.github.io/vega-lite/docs/config.html#view-config>`__
        (``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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fcolumnc                    y r   r   r   s     r   r   zColumn.aggregateD      >Ar   r   c                    y r   r   r   s     r   r   zColumn.aggregateF       r   r   c                    y r   r   r   s     r   r   zColumn.aggregateJ  r   r   c                    y r   r   r   s     r   rK  zColumn.alignN  r  r   c                    y r   r   r   s     r   r   zColumn.bandPositionP  ry  r   c                    y r   r   r   s     r   r   z
Column.binR      69r   r   c       
             y r   r   r   s              r   r   z
Column.binT       r   c                    y r   r   r   s     r   centerzColumn.centerc      ,/r   c                    y r   r   r   s     r   r   zColumn.fielde  r%  r   r   c                    y r   r   r   s     r   r   zColumn.fieldg      
 r   c                    y r   r   r   s     r   headerzColumn.headerm  r   r    r  r  r  labelAnchor
labelAngler  r  r  r  r  r  r  r  labelLineHeightlabelOrientr   labelsr%  r5  r6  r7  
titleAngler8  r9  r:  r;  r<  r=  r>  r?  rA  rB  c                     y r   r   !r   r  r  r  r1  r2  r  r  r  r  r  r  r  r  r3  r4  r   r5  r%  r5  r6  r7  r6  r8  r9  r:  r;  r<  r=  r>  r?  rA  rB  s!                                    r   r/  zColumn.headero  s    ` r   c                    y r   r   r   s     r   rc  zColumn.sort  s     r   re  c                    y r   r   ri  s       r   rc  zColumn.sort       r   c                    y r   r   r   s     r   spacingzColumn.spacing      .1r   c                    y r   r   r   s     r   ro  zColumn.timeUnit  r-  r   rp  c                    y r   r   rt  s         r   ro  zColumn.timeUnit       r   c                    y r   r   r   s     r   r5  zColumn.title      ADr   c                    y r   r   r   s     r   r   zColumn.type  r  r   c                @    t        |   d|||||||||	|
|||d| y N)r   r   rK  r   r   r)  r   r/  rc  r=  ro  r5  r   r   r|  r   r   r   rK  r   r   r)  r   r/  rc  r=  ro  r5  r   r   r   s                  r   r}  zColumn.__init__  H    8 	 	
%	
 	
r   )r   r  r   r-   )r   r  r   r-   )r   r  r   r-   )r   LayoutAlign_Tr   r-   )r   r  r   r-   )r   r  r   r-   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r-   )r   r   r   r-   )r   r  r   r-   )r   r  r   r-   )r   Header | Noner   r-   )Br  r  r  r  r  r  r1  $Optional[SchemaBase | TitleAnchor_T]r2  r  r  r  r  :Optional[str | Parameter | SchemaBase | Map | ColorName_T]r  r  r  r  r  r  r  r  r  r  r  r  r3  r  r4  Optional[SchemaBase | Orient_T]r   r  r5  r  r%  rM  r5  r  r6  r  r7  rK  r6  r  r8  r  r9  rL  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  rA  rM  rB  r  r   r-   )r   ySequence[str] | Sequence[bool] | Sequence[float] | EncodingSortField | Sequence[DateTime | Temporal] | SortOrder_T | Noner   r-   )r   r  rf  r  rg  r  r   r-   )r   r  r   r-   )r   r  r   r  r   r  rq  r  rr  r  r   r-   )r   r  r   r-   )r   r  r   r-   r   r  r   r  rK  $Optional[SchemaBase | LayoutAlign_T]r   r  r   r  r)  r  r   r  r/  r  rc  Optional[SchemaBase | Sequence[str] | Sequence[bool] | Sequence[float] | Sequence[Temporal | SchemaBase | Map] | Map | SortOrder_T | None]r=  r  ro  r  r5  r  r   r  r   r   r   r  r  r   r	   r   r   rK  r   r   r)  r   r/  rc  r=  ro  r5  r   r}  r   r   s   @r   r-   r-   s  sg   JX (-$NA A6?3	  6?3	  7 76 69 9 #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
  / /9 9 IR F 
	 
 8 8 4=$-GP<E&/  #,BKHQGP ENJS7@GP!*2;CLGP<E&/  BKHQGP ENJS7@GP]/ 1/ "	/
 E/ :/ $/
/
/ !/ @/  F!/" E#/$
%/* C+/, H-/. 5//0 E1/2 3/4 05/6 A7/8 E9/: :;/< $=/>
?/D
E/J @K/L FM/N EO/P
Q/V CW/X HY/Z 5[/\ E]/^ 
_/ /` 

 

 
  3<9B;D 0 7	
 9 
  1 1Q 
	 
  "+#, )JS'  !	
  H  
  D D7 7 GPFO6?(18A!*2;4= #, CL6?3+
C+
 D+
 4	+

 &+
 6+
 +
 0+
 2+
	
+
( !)+
*
++
0 A1+
2 43+
 +
r   r-   c                  v    e Zd ZdZdZdZedd       Zeed	 	 	 dd       Zeed	 	 	 d d       Zed!d	       Z	ed"d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d#d       Z
eeed	 	 	 	 	 d$d       Zeeeed	 	 	 	 	 	 	 d%d       Ze	 	 	 	 d&d       Zed'd       Zeed	 	 	 d(d       Zed)d       Zed*d       Zed)d       Ze	 	 	 	 d+d       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 d,d       Zed-d       Zed.d       Zeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d/ fdZ xZS )0r/   a	6  
    Description schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, Literal['binned'], :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    condition : dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    format : str, dict, :class:`Dict`
        When used with the default ``"number"`` and ``"time"`` format type, the text
        formatting pattern for labels of guides (axes, legends, headers) and text marks.

        * If the format type is ``"number"`` (e.g., for quantitative fields), this is D3's
          `number format pattern <https://github.com/d3/d3-format#locale_format>`__.
        * If the format type is ``"time"`` (e.g., for temporal fields), this is D3's `time
          format pattern <https://github.com/d3/d3-time-format#locale_format>`__.

        See the `format documentation <https://vega.github.io/vega-lite/docs/format.html>`__
        for more examples.

        When used with a `custom formatType
        <https://vega.github.io/vega-lite/docs/config.html#custom-format-type>`__, this
        value will be passed as ``format`` alongside ``datum.value`` to the registered
        function.

        **Default value:**  Derived from `numberFormat
        <https://vega.github.io/vega-lite/docs/config.html#format>`__ config for number
        format and from `timeFormat
        <https://vega.github.io/vega-lite/docs/config.html#format>`__ config for time
        format.
    formatType : str
        The format type for labels. One of ``"number"``, ``"time"``, or a `registered custom
        format type
        <https://vega.github.io/vega-lite/docs/config.html#custom-format-type>`__.

        **Default value:**

        * ``"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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr	  c                    y r   r   r   s     r   r   zDescription.aggregate	      CFr   r   c                    y r   r   r   s     r   r   zDescription.aggregate	       r   r   c                    y r   r   r   s     r   r   zDescription.aggregate	  rW  r   c                    y r   r   r   s     r   r   zDescription.bandPosition	      8;r   c                    y r   r   r   s     r   r   zDescription.bin	      ORr   r   c       
             y r   r   r   s              r   r   zDescription.bin	       r   r   c                    y r   r   r   s      r   r   zDescription.condition	       r   r   c                    y r   r   r   s       r   r   zDescription.condition	       r   c                    y r   r   r   s     r   r   zDescription.condition	  rW  r   c                    y r   r   r   s     r   r   zDescription.field	      ;>r   r   c                    y r   r   r   s     r   r   zDescription.field	      
 r   c                    y r   r   r   s     r   r  zDescription.format	  r  r   c                    y r   r   r   s     r   r  zDescription.format	  r  r   c                    y r   r   r   s     r   r  zDescription.formatType	  r  r   c                    y r   r   r   s     r   ro  zDescription.timeUnit	  rg  r   rp  c                    y r   r   rt  s         r   ro  zDescription.timeUnit
       r   c                    y r   r   r   s     r   r5  zDescription.title
      FIr   c                    y r   r   r   s     r   r   zDescription.type
      9<r   c                <    t        |   d|||||||||	|
|d| y N)r   r   r   r   r   r   r  r  ro  r5  r   r   r|  r   r   r   r   r   r   r   r  r  ro  r5  r   r   r   s                r   r}  zDescription.__init__
  B    " 	 	
%!	
 	
r   )r   r  r   r/   )r   r  r   r/   )r   r  r   r/   )r   r  r   r/   )r   %bool | Bin | Literal['binned'] | Noner   r/   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r/   )r   r  r   r  r   r/   )r   r  r   r  r   r  r   r/   )r   +list[core.ConditionalValueDefstringExprRef]r   r/   )r   r  r   r/   )r   r  r   r/   )r   r   r   r/   )r   Mapr   r/   )r   r  r   r/   )r   r  r   r  r   r  rq  r  rr  r  r   r/   )r   r  r   r/   )r   r  r   r/   r   r  r   r  r   r  r   <Optional[bool | SchemaBase | Literal['binned'] | Map | None]r   r  r   r  r  r  r  r  ro  r  r5  r  r   r  r   r   r   r  r  r   r	   r   r   r   r   r   r   r  r  ro  r5  r   r}  r   r   s   @r   r/   r/     s   }~ (-$"NF F6?3	  6?3	  ; ;R R #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
   2;>G	 / <	
 
   !*,5>G  *	
 < 
  <	  > > IR F 
	 
 3 33 37 7Q 
	 
  "+#, )JS'  !	
  H  
  I I< < GPFO(1LUMV2;3<$- CL6?
C
 D
 &	

 J
 K
 0
 1
 "


 A
 4
 
r   r/   c                      e Zd ZdZdZdZeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd	       Zeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeed	 	 	 	 	 dd       Zeeeed	 	 	 	 	 	 	 dd       Ze	 	 	 	 dd       Zef	 d fdZ	 xZ
S )r0   a  
    DescriptionValue schema wrapper.

    Parameters
    ----------
    condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`]
        A field definition or one or more value definition(s) with a parameter predicate.
    value : str, dict, :class:`ExprRef`, None
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr	  r  c                    y r   r   r  s               r   r   zDescriptionValue.conditionC
      4 r   r  c                    y r   r   r  s           r   r   zDescriptionValue.condition^
       r   r  c                    y r   r   r  s                r   r   zDescriptionValue.conditionl
      6 r   r  c                    y r   r   r  s	            r   r   zDescriptionValue.condition
       r   r   c                    y r   r   r   s      r   r   zDescriptionValue.condition
       r   r   c                    y r   r   r   s       r   r   zDescriptionValue.condition
       r   c                    y r   r   r   s     r   r   zDescriptionValue.condition
       r   c                *    t        |   d||d| y r  r|  r  s       r   r}  zDescriptionValue.__init__
  r  r   )r   r  r   r  r   r  r   r  r  r  rI  r  rc  r  r   r  ro  r  r5  r  r   r  r   r0   )r   r  r   r  r  r  rI  r  r   r  r5  r  r   r  r   r0   )r   r  r   r  r   r  r   r  r   r  r  r  r   r  rI  r  rc  r  ro  r  r5  r  r   r  r   r0   )r   r  r   r  r   r  r  r  r   r  rI  r  r5  r  r   r  r   r0   )r   r  r   r  r   r0   )r   r  r   r  r   r  r   r0   )r   /list[core.ConditionalValueDefstringnullExprRef]r   r0   r  r  r   s   @r   r0   r0   1
  s]    (-$"N GP(18A2;4=3< 1: CL6?1 D &	
 6 0 2 1	
& /'(
). A/0 412 
3 4  )2 4=3<1:CL.7 &
	 2 1 / A , 
   GP(18A )2;4=,53<  CL6?3 D &	
 6  0 2 * 1	
*
+0 A12 434 
5 6  )2  )4=,53<CL.7 &
	  2 * 1 A , 
   2;EN	 / C	
 
   !*,5EN  *	
 C 
  @	  NWC KC Cr   r0   c                      e Zd ZdZdZdZedd       Zeed	 	 	 dd       Zeed	 	 	 dd       Zedd	       Z	edd
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Z
edd       Zeed	 	 	 dd       Ze	 	 	 	 dd       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 dd       Zed d       Zed!d       Zeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d" fdZ xZS )#r1   a-  
    Detail schema wrapper.

    Definition object for a data field, its type and transformation of an encoding channel.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, Literal['binned'], :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fdetailc                    y r   r   r   s     r   r   zDetail.aggregateS  r  r   r   c                    y r   r   r   s     r   r   zDetail.aggregateU  r   r   r   c                    y r   r   r   s     r   r   zDetail.aggregateY  r   r   c                    y r   r   r   s     r   r   zDetail.bandPosition]  ry  r   c                    y r   r   r   s     r   r   z
Detail.bin_      JMr   r   c       
             y r   r   r   s              r   r   z
Detail.bina  r'  r   c                    y r   r   r   s     r   r   zDetail.fieldp  r%  r   r   c                    y r   r   r   s     r   r   zDetail.fieldr  r-  r   c                    y r   r   r   s     r   ro  zDetail.timeUnitx  r-  r   rp  c                    y r   r   rt  s         r   ro  zDetail.timeUnit~  rA  r   c                    y r   r   r   s     r   r5  zDetail.title  rC  r   c                    y r   r   r   s     r   r   zDetail.type  r  r   c	                6    t        
|   d||||||||d|	 y N)r   r   r   r   r   ro  r5  r   r   r|  r   r   r   r   r   r   ro  r5  r   r   r   s             r   r}  zDetail.__init__  9     	 
	
%
	
 
	
r   )r   r  r   r1   )r   r  r   r1   )r   r  r   r1   )r   r  r   r1   )r   rv  r   r1   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r1   )r   r  r   r1   )r   r  r   r1   )r   r  r   r1   )r   r  r   r  r   r  rq  r  rr  r  r   r1   )r   r  r   r1   )r   r  r   r1   r   r  r   r  r   r  r   rz  r   r  ro  r  r5  r  r   r  r   r   r   r  r  r   r	   r   r   r   r   r   ro  r5  r   r}  r   r   s   @r   r1   r1   
  s   Xt (-$NA A6?3	  6?3	  6 6M M #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
  9 9 IR F 
	 
 Q 
	 
  "+#, )JS'  !	
  H  
  D D7 7 GPFO(1LU2; CL6?
C
 D
 &	

 J
 0


 A
 4
 
r   r1   c            "          e Zd ZdZdZdZed%d       Zeedd&d       Zeedd'd       Zed(d	       Z	eeed
	 	 	 	 	 d)d       Z	ed*d       Z
ed+d       Zeeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d,d       Zed-d       Zed.d       Zeeed
	 	 	 	 	 d/d       Zed*d       Zed0d       Zeed	 	 	 d1d       Zed2d       Zeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d3d       Ze	 	 	 	 d4d       Zeeeed	 	 	 	 	 	 	 d5d       Zed6d       Zeeed
	 	 	 	 	 d7d       Ze	 	 	 	 d8d       Zeeeeeed 	 	 	 	 	 	 	 	 	 	 	 d9d!       Zed:d"       Zed;d#       Zeeeeeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d< fd$Z xZS )=r2   a?  
    Facet schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    align : dict, :class:`LayoutAlign`, :class:`RowColLayoutAlign`, Literal['all', 'each', 'none']
        The alignment to apply to grid rows and columns. The supported string values are
        ``"all"``, ``"each"``, and ``"none"``.

        * For ``"none"``, a flow layout will be used, in which adjacent subviews are simply
          placed one after the other.
        * For ``"each"``, subviews will be aligned into a clean grid structure, but each row
          or column may be of variable size.
        * For ``"all"``, subviews will be aligned and each row or column will be sized
          identically based on the maximum observed size. String values for this property
          will be applied to both grid rows and columns.

        Alternatively, an object value of the form ``{"row": string, "column": string}`` can
        be used to supply different alignments for rows and columns.

        **Default value:** ``"all"``.
    bandPosition : float
        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, :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    bounds : Literal['full', 'flush']
        The bounds calculation method to use for determining the extent of a sub-plot. One
        of ``full`` (the default) or ``flush``.

        * If set to ``full``, the entire calculated bounds (including axes, title, and
          legend) will be used.
        * If set to ``flush``, only the specified width and height values for the sub-view
          will be used. The ``flush`` setting can be useful when attempting to place
          sub-plots without axes or legends into a uniform grid structure.

        **Default value:** ``"full"``
    center : bool, dict, :class:`RowColboolean`
        Boolean flag indicating if subviews should be centered relative to their respective
        rows or columns.

        An object value of the form ``{"row": boolean, "column": boolean}`` can be used to
        supply different centering values for rows and columns.

        **Default value:** ``false``
    columns : float
        The number of columns to include in the view composition layout.

        **Default value**: ``undefined`` -- An infinite number of columns (a single row)
        will be assumed. This is equivalent to ``hconcat`` (for ``concat``) and to using the
        ``column`` channel (for ``facet`` and ``repeat``).

        **Note**:

        1) This property is only for:

        * the general (wrappable) ``concat`` operator (not ``hconcat``/``vconcat``)
        * the ``facet`` and ``repeat`` operator with one field/repetition definition
          (without row/column nesting)

        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`
        **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
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    header : dict, :class:`Header`, None
        An object defining properties of a facet's header.
    sort : dict, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` is not supported for ``row`` and ``column``.
    spacing : dict, float, :class:`RowColnumber`
        The spacing in pixels between sub-views of the composition operator. An object of
        the form ``{"row": number, "column": number}`` can be used to set different spacing
        values for rows and columns.

        **Default value**: Depends on ``"spacing"`` property of `the view composition
        configuration <https://vega.github.io/vega-lite/docs/config.html#view-config>`__
        (``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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Ffacetc                    y r   r   r   s     r   r   zFacet.aggregate  r   r   r   c                    y r   r   r   s     r   r   zFacet.aggregate  r   r   r   c                    y r   r   r   s     r   r   zFacet.aggregate  r   r   c                    y r   r   r   s     r   rK  zFacet.align  r\  r   )r  rowc                    y r   r   r   r  r  s      r   rK  zFacet.align  r   r   c                    y r   r   r   s     r   r   zFacet.bandPosition  r   r   c                    y r   r   r   s     r   r   z	Facet.bin  r   r   r   c       
             y r   r   r   s              r   r   z	Facet.bin  r   r   c                    y r   r   r   s     r   boundszFacet.bounds      ?Br   c                    y r   r   r   s     r   r)  zFacet.center  r  r   c                    y r   r   r  s      r   r)  zFacet.center  r  r   c                    y r   r   r   s     r   r  zFacet.columns      -0r   c                    y r   r   r   s     r   r   zFacet.field  r   r   r   c                    y r   r   r   s     r   r   zFacet.field  r   r   c                    y r   r   r   s     r   r/  zFacet.header  r  r   r0  c                     y r   r   r8  s!                                    r   r/  zFacet.header  s    ` r   c                    y r   r   r   s     r   rc  z
Facet.sort  s     r   re  c                    y r   r   ri  s       r   rc  z
Facet.sort  r   r   c                    y r   r   r   s     r   r=  zFacet.spacing  rC  r   c                    y r   r   r  s      r   r=  zFacet.spacing  r  r   c                    y r   r   r   s     r   ro  zFacet.timeUnit  r   r   rp  c                    y r   r   rt  s         r   ro  zFacet.timeUnit$  ru  r   c                    y r   r   r   s     r   r5  zFacet.title.  rw  r   c                    y r   r   r   s     r   r   z
Facet.type0  ry  r   c                D    t        |   d|||||||||	|
|||||d| y )N)r   r   rK  r   r   r  r)  r  r   r/  rc  r=  ro  r5  r   r   r|  )r   r   r   rK  r   r   r  r)  r  r   r/  rc  r=  ro  r5  r   r   r   s                    r   r}  zFacet.__init__3  sN    < 	 	
%	
  !	
r   )r   r  r   r2   )r   r  r   r2   )r   r  r   r2   )r   z)RowColKwds[LayoutAlign_T] | LayoutAlign_Tr   r2   )r  rP  r  rP  r   r2   )r   r  r   r2   )r   r  r   r2   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r2   )r   zLiteral['full', 'flush']r   r2   )r   zbool | RowColKwds[bool]r   r2   )r  r  r  r  r   r2   )r   r  r   r2   )r   r  r   r2   )r   rJ  r   r2   )Br  r  r  r  r  r  r1  rK  r2  r  r  r  r  rL  r  r  r  r  r  r  r  r  r  r  r  r  r3  r  r4  rM  r   r  r5  r  r%  rM  r5  r  r6  r  r7  rK  r6  r  r8  r  r9  rL  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  rA  rM  rB  r  r   r2   )r   rN  r   r2   )r   r  rf  r  rg  r  r   r2   )r   zfloat | RowColKwds[float]r   r2   )r  r  r  r  r   r2   )r   r  r   r2   )r   r  r   r  r   r  rq  r  rr  r  r   r2   )r   r  r   r2   )r   r  r   r2   )r   r  r   r  rK  z*Optional[SchemaBase | Map | LayoutAlign_T]r   r  r   r  r  z"Optional[Literal['full', 'flush']]r)  z!Optional[bool | SchemaBase | Map]r  r  r   r  r/  r  rc  rQ  r=  z"Optional[float | SchemaBase | Map]ro  r  r5  r  r   r  )r   r   r   r  r  r   r	   r   r   rK  r   r   r  r)  r  r   r/  rc  r=  ro  r5  r   r}  r   r   s   @r   r2   r2     s   n` (-$N@ @@IX X@IX XR R 8A4=	 5 2	
 
  5 58 8 #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
  B BA A*39':H	  0 08 8 IR F 
	 
 7 7 4=$-GP<E&/  #,BKHQGP ENJS7@GP!*2;CLGP<E&/  BKHQGP ENJS7@GP]/ 1/ "	/
 E/ :/ $/
/
/ !/ @/  F!/" E#/$
%/* C+/, H-/. 5//0 E1/2 3/4 05/6 A7/8 E9/: :;/< $=/>
?/D
E/J @K/L FM/N EO/P
Q/V CW/X HY/Z 5[/\ E]/^ 
_/ /` 

 

 
  3<9B;D 0 7	
 9 
  D D+4Y(;J	  Q 
	 
  "+#, )JS'  !	
  H  
  C C6 6 GPFO<E(18A5>4=#,2;4= 6? CL6?7/
C/
 D/
 :	/

 &/
 6/
 3/
 2/
 !/
 0/
 2/
	
/
, 4-/
.
//
4 A5/
6 47/
 /
r   r2   c            D          e Zd ZdZdZdZed&d       Zeedd'd       Zeedd(d       Zed)d	       Z	ed*d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d+d       Z
eeed	 	 	 	 	 d,d       Zeeeed	 	 	 	 	 	 	 d-d       Ze	 	 	 	 d.d       Zed/d       Zeed	 	 	 d0d       Zed1d       ZeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedB	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d2d       Zed3d       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d4d       Ze	 	 	 	 d5d       Zeeeed	 	 	 	 	 	 	 d6d       Zeeed	 	 	 	 	 d7d       Ze	 	 	 	 d8d        Zeeeeeed!	 	 	 	 	 	 	 	 	 	 	 d9d"       Zed:d#       Zed;d$       Zeeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d< fd%Z xZS )=r4   a=>  
    Fill schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    condition : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    legend : dict, :class:`Legend`, None
        An object defining properties of the legend. If ``null``, the legend for the
        encoding channel will be removed.

        **Default value:** If undefined, default `legend properties
        <https://vega.github.io/vega-lite/docs/legend.html>`__ are applied.

        **See also:** `legend <https://vega.github.io/vega-lite/docs/legend.html>`__
        documentation.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Ffillc                    y r   r   r   s     r   r   zFill.aggregateH      <?r   r   c                    y r   r   r   s     r   r   zFill.aggregateJ      TWr   r   c                    y r   r   r   s     r   r   zFill.aggregateL  r  r   c                    y r   r   r   s     r   r   zFill.bandPositionN      14r   c                    y r   r   r   s     r   r   zFill.binP  r  r   r   c       
             y r   r   r   s              r   r   zFill.binR       r   r   c                    y r   r   r   s      r   r   zFill.conditiona       r   r   c                    y r   r   r   s       r   r   zFill.conditionh       r   c                    y r   r   r   s     r   r   zFill.conditionp  s     r   c                    y r   r   r   s     r   r   z
Fill.fieldt  r  r   r   c                    y r   r   r   s     r   r   z
Fill.fieldv      
 r   c                    y r   r   r   s     r   r  zFill.legend|  ry  r   r  c       B             y r   r   rF  sC                                                                      r   r  zFill.legend~      T r   c                    y r   r   r   s     r   rI  z
Fill.scale  r  r   rJ  c                    y r   r   r`  s                            r   rI  z
Fill.scale      b r   c                    y r   r   r   s     r   rc  z	Fill.sort       r   re  c                    y r   r   ri  s       r   rc  z	Fill.sort(  r  r   rj  c                    y r   r   rm  s      r   rc  z	Fill.sort0  r  r   c                    y r   r   r   s     r   ro  zFill.timeUnit7  r  r   rp  c                    y r   r   rt  s         r   ro  zFill.timeUnit=       r   c                    y r   r   r   s     r   r5  z
Fill.titleG  r  r   c                    y r   r   r   s     r   r   z	Fill.typeI  r   r   c                >    t        |   d|||||||||	|
||d| y r{  r|  r~  s                 r   r}  zFill.__init__L  r  r   )r   r  r   r4   )r   r  r   r4   )r   r  r   r4   )r   r  r   r4   )r   r  r   r4   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r4   )r   r  r   r  r   r4   )r   r  r   r  r   r  r   r4   )r   r	  r   r4   )r   r  r   r4   )r   r  r   r4   )r   r  r   r4   )r  r  r  r  r  r  r  r  r  r  r	  r  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r!  r  r"  r  r#  r  r$  r  r%  r  r&  r  r'  r  r(  r  r)  r  r*  r  r+  r  r,  r  r-  r  r.  r  r/  r  r0  r  r1  r  r2  r  r3  r  r4  r  r5  r  r6  r  r7  r  r8  r  r9  r  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  r@  r  rA  r  rB  r  r   r  rC  r  rD  r  r   r4   )r   r  r   r4   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   r4   )r   r  r   r4   )r   r  rf  r  rg  r  r   r4   )rk  r  rg  r  r   r4   )r   r  r   r4   )r   r  r   r  r   r  rq  r  rr  r  r   r4   )r   r  r   r4   )r   r  r   r4   r  r  r   s   @r   r4   r4   e  s	   
Yv (-$N? ?@IW W@IW W4 47 7 #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
   2;EN	 / C	
 
   !*,5EN  *	
 C 
  H	  7 7 IR F 
	 
 6 6 ?HENHQBKGPDM:C 3<$-IRJS NWLULUGP  #,BKHQGP ENFOGP GPJSBKBKAJ8ABKEN  KT FOGPHQEN LUCL FOCLGPNW  BKHQGP ENJSGPIRGP8A "+Qi <i C	i
 Fi @i Ei Bi 8i
i 1i "i Gi  H!i"
#i( L)i* J+i, J-i. E/i0
1i6
7i< !=i> @?i@ FAiB ECiD
EiJ CKiL DMiN EOiP
QiV EWiX HYiZ @[i\ @]i^ ?_i` 6aib @cid Ceif
gil
mir Isit
uiz D{i| E}i~ Fi@ CAiB
CiH JIiJ AKiL
MiR DSiT AUiV EWiX LYiZ
[i`
aif @gih Fiij Ekil
mir Csit Huiv Ewix Gyiz E{i| 6}i~
iP  QiR 
Si iT 4 4 AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b 		 
	 	  3<9B;D 0 7	
 9 
   <E;D	 9 9	
 
  Q 
	 
  "+#, )JS'  !	
  H  
  B B5 5 GPFO(18AMV2;4=3<  CL6?1)
C)
 D)
 &	)

 6)
 K)
 0)
 2)
 1)
	
)
(
))
. A/)
0 41)
 )
r   r4   c                       e Zd ZdZdZdZedd       Zeeed	 	 	 	 	 dd       Z	eeeed	 	 	 	 	 	 	 dd       Z	e	 	 	 	 dd	       Z	edd
       Z
edd       Zeeeef	 	 	 	 	 	 	 d fdZ xZS )r5   a  
    FillDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    datum : str, bool, dict, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zFillDatum.bandPosition  r%  r   r   c                    y r   r   r   s      r   r   zFillDatum.condition       r   r   c                    y r   r   r   s       r   r   zFillDatum.condition       r   c                    y r   r   r   s     r   r   zFillDatum.condition       r   c                    y r   r   r   s     r   r5  zFillDatum.title      DGr   c                    y r   r   r   s     r   r   zFillDatum.type       /2r   c           	     0    t        |   d|||||d| y r  r|  r  s          r   r}  zFillDatum.__init__  r  r   )r   r  r   r5   )r   r  r   r  r   r5   )r   r  r   r  r   r  r   r5   )r   r	  r   r5   )r   r  r   r5   )r   r  r   r5   r  r  r   s   @r   r5   r5   x  s*   hT (-$N9 9 2;EN	 / C	
 
   !*,5EN  *	
 C 
  H	  G G2 2
 )2MVCL.7
 &
 K	

 A
 ,
 
r   r5   c                      e Zd ZdZdZdZeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd	       Zeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeed	 	 	 	 	 dd       Zeeeed	 	 	 	 	 	 	 dd       Ze	 	 	 	 dd       Zef	 d fdZ	 xZ
S )r9   a#  
    FillValue schema wrapper.

    Parameters
    ----------
    condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`]
        A field definition or one or more value definition(s) with a parameter predicate.
    value : str, dict, :class:`ExprRef`, :class:`Gradient`, :class:`LinearGradient`, :class:`RadialGradient`, None
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  r  c                    y r   r   r  s               r   r   zFillValue.condition+      4 r   r  c                    y r   r   r  s           r   r   zFillValue.conditionF       r   r  c                    y r   r   r  s                r   r   zFillValue.conditionT      6 r   r  c                    y r   r   r  s	            r   r   zFillValue.conditionp       r   r   c                    y r   r   r   s      r   r   zFillValue.condition  r  r   r   c                    y r   r   r   s       r   r   zFillValue.condition  r  r   c                    y r   r   r   s     r   r   zFillValue.condition  r  r   c                *    t        |   d||d| y r  r|  r  s       r   r}  zFillValue.__init__  r  r   )r   r  r   r  r   r  r   r  r  r  rI  r  rc  r  r   r  ro  r  r5  r  r   r  r   r9   )r   r  r   r  r  r  rI  r  r   r  r5  r  r   r  r   r9   )r   r  r   r  r   r  r   r  r   r  r  r  r   r  rI  r  rc  r  ro  r  r5  r  r   r  r   r9   )r   r  r   r  r   r  r  r  r   r  rI  r  r5  r  r   r  r   r9   )r   r  r   r  r   r9   )r   r  r   r  r   r  r   r9   )r   r	  r   r9   r  r  r   s   @r   r9   r9     s]   
 (-$N GP(18A2;4=3< 1: CL6?1 D &	
 6 0 2 1	
& /'(
). A/0 412 
3 4  )2 4=3<1:CL.7 &
	 2 1 / A , 
   GP(18A )2;4=,53<  CL6?3 D &	
 6  0 2 * 1	
*
+0 A12 434 
5 6  )2  )4=,53<CL.7 &
	  2 * 1 A , 
   2;EN	 / C	
 
   !*,5EN  *	
 C 
  H	  NWC KC Cr   r9   c            D          e Zd ZdZdZdZed&d       Zeed	 	 	 d'd       Zeed	 	 	 d(d       Zed)d	       Z	ed*d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d+d       Z
eeed	 	 	 	 	 d,d       Zeeeed	 	 	 	 	 	 	 d-d       Ze	 	 	 	 d.d       Zed/d       Zeed	 	 	 d0d       Zed1d       ZeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedB	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d2d       Zed3d       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d4d       Ze	 	 	 	 d5d       Zeeeed	 	 	 	 	 	 	 d6d       Zeeed	 	 	 	 	 d7d       Ze	 	 	 	 d8d        Zeeeeeed!	 	 	 	 	 	 	 	 	 	 	 d9d"       Zed:d#       Zed;d$       Zeeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d< fd%Z xZS )=r6   a=  
    FillOpacity schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    legend : dict, :class:`Legend`, None
        An object defining properties of the legend. If ``null``, the legend for the
        encoding channel will be removed.

        **Default value:** If undefined, default `legend properties
        <https://vega.github.io/vega-lite/docs/legend.html>`__ are applied.

        **See also:** `legend <https://vega.github.io/vega-lite/docs/legend.html>`__
        documentation.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    FfillOpacityc                    y r   r   r   s     r   r   zFillOpacity.aggregate~  rU  r   r   c                    y r   r   r   s     r   r   zFillOpacity.aggregate  rW  r   r   c                    y r   r   r   s     r   r   zFillOpacity.aggregate  rW  r   c                    y r   r   r   s     r   r   zFillOpacity.bandPosition  rZ  r   c                    y r   r   r   s     r   r   zFillOpacity.bin  re  r   r   c       
             y r   r   r   s              r   r   zFillOpacity.bin  r^  r   r   c                    y r   r   r   s      r   r   zFillOpacity.condition  r`  r   r   c                    y r   r   r   s       r   r   zFillOpacity.condition  rb  r   c                    y r   r   r   s     r   r   zFillOpacity.condition  rW  r   c                    y r   r   r   s     r   r   zFillOpacity.field  re  r   r   c                    y r   r   r   s     r   r   zFillOpacity.field  rg  r   c                    y r   r   r   s     r   r  zFillOpacity.legend      :=r   r  c       B             y r   r   rF  sC                                                                      r   r  zFillOpacity.legend      T r   c                    y r   r   r   s     r   rI  zFillOpacity.scale#  rZ  r   rJ  c                    y r   r   r`  s                            r   rI  zFillOpacity.scale%      b r   c                    y r   r   r   s     r   rc  zFillOpacity.sortW       r   re  c                    y r   r   ri  s       r   rc  zFillOpacity.sortb  rb  r   rj  c                    y r   r   rm  s      r   rc  zFillOpacity.sortj  r`  r   c                    y r   r   r   s     r   ro  zFillOpacity.timeUnitq  rg  r   rp  c                    y r   r   rt  s         r   ro  zFillOpacity.timeUnitw  rm  r   c                    y r   r   r   s     r   r5  zFillOpacity.title  ro  r   c                    y r   r   r   s     r   r   zFillOpacity.type  rq  r   c                >    t        |   d|||||||||	|
||d| y r{  r|  r~  s                 r   r}  zFillOpacity.__init__  r  r   )r   r  r   r6   )r   r  r   r6   )r   r  r   r6   )r   r  r   r6   )r   r  r   r6   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r6   )r   r  r   r  r   r6   )r   r  r   r  r   r  r   r6   )r   r  r   r6   )r   r  r   r6   )r   r  r   r6   )r   r  r   r6   )r  r  r  r  r  r  r  r  r  r  r	  r  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r!  r  r"  r  r#  r  r$  r  r%  r  r&  r  r'  r  r(  r  r)  r  r*  r  r+  r  r,  r  r-  r  r.  r  r/  r  r0  r  r1  r  r2  r  r3  r  r4  r  r5  r  r6  r  r7  r  r8  r  r9  r  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  r@  r  rA  r  rB  r  r   r  rC  r  rD  r  r   r6   )r   r  r   r6   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   r6   )r   r  r   r6   )r   r  rf  r  rg  r  r   r6   )rk  r  rg  r  r   r6   )r   r  r   r6   )r   r  r   r  r   r  rq  r  rr  r  r   r6   )r   r  r   r6   )r   r  r   r6   r  r  r   s   @r   r6   r6     
   Yv (-$"NF F6?3	  6?3	  ; ;> > #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
   2;@I	 / >	
 
   !*,5@I  *	
 > 
  <	  > > IR F 
	 
 = = ?HENHQBKGPDM:C 3<$-IRJS NWLULUGP  #,BKHQGP ENFOGP GPJSBKBKAJ8ABKEN  KT FOGPHQEN LUCL FOCLGPNW  BKHQGP ENJSGPIRGP8A "+Qi <i C	i
 Fi @i Ei Bi 8i
i 1i "i Gi  H!i"
#i( L)i* J+i, J-i. E/i0
1i6
7i< !=i> @?i@ FAiB ECiD
EiJ CKiL DMiN EOiP
QiV EWiX HYiZ @[i\ @]i^ ?_i` 6aib @cid Ceif
gil
mir Isit
uiz D{i| E}i~ Fi@ CAiB
CiH JIiJ AKiL
MiR DSiT AUiV EWiX LYiZ
[i`
aif @gih Fiij Ekil
mir Csit Huiv Ewix Gyiz E{i| 6}i~
iP  QiR 
Si iT ; ; AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b 		 
	 	  3<9B;D 0 7	
 9 
   <E;D	 9 9	
 
  Q 
	 
  "+#, )JS'  !	
  H  
  I I< < GPFO(18AMV2;4=3<  CL6?1)
C)
 D)
 &	)

 6)
 K)
 0)
 2)
 1)
	
)
(
))
. A/)
0 41)
 )
r   r6   c                       e Zd ZdZdZdZedd       Zeeed	 	 	 	 	 dd       Z	eeeed	 	 	 	 	 	 	 dd       Z	e	 	 	 	 dd	       Z	edd
       Z
edd       Zeeeef	 	 	 	 	 	 	 d fdZ xZS )r7   a  
    FillOpacityDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    datum : str, bool, dict, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zFillOpacityDatum.bandPosition#  r   r   r   c                    y r   r   r   s      r   r   zFillOpacityDatum.condition%  r  r   r   c                    y r   r   r   s       r   r   zFillOpacityDatum.condition,  r  r   c                    y r   r   r   s     r   r   zFillOpacityDatum.condition4  r  r   c                    y r   r   r   s     r   r5  zFillOpacityDatum.title8      KNr   c                    y r   r   r   s     r   r   zFillOpacityDatum.type:  r%  r   c           	     0    t        |   d|||||d| y r  r|  r  s          r   r}  zFillOpacityDatum.__init__=  r  r   )r   r  r   r7   )r   r  r   r  r   r7   )r   r  r   r  r   r  r   r7   )r   r  r   r7   )r   r  r   r7   )r   r  r   r7   r  r  r   s   @r   r7   r7     (   hT (-$"N@ @ 2;@I	 / >	
 
   !*,5@I  *	
 > 
  <	  N N9 9
 )2MVCL.7
 &
 K	

 A
 ,
 
r   r7   c                      e Zd ZdZdZdZeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd	       Zeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeed	 	 	 	 	 dd       Zeeeed	 	 	 	 	 	 	 dd       Ze	 	 	 	 dd       Zef	 d fdZ	 xZ
S )r8   a  
    FillOpacityValue schema wrapper.

    Parameters
    ----------
    condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`]
        A field definition or one or more value definition(s) with a parameter predicate.
    value : dict, float, :class:`ExprRef`
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  r  c                    y r   r   r  s               r   r   zFillOpacityValue.conditiond  r~  r   r  c                    y r   r   r  s           r   r   zFillOpacityValue.condition  r  r   r  c                    y r   r   r  s                r   r   zFillOpacityValue.condition  r  r   r  c                    y r   r   r  s	            r   r   zFillOpacityValue.condition  r  r   r   c                    y r   r   r   s      r   r   zFillOpacityValue.condition  r  r   r   c                    y r   r   r   s       r   r   zFillOpacityValue.condition  r  r   c                    y r   r   r   s     r   r   zFillOpacityValue.condition  r  r   c                *    t        |   d||d| y r  r|  r  s       r   r}  zFillOpacityValue.__init__  r  r   )r   r  r   r  r   r  r   r  r  r  rI  r  rc  r  r   r  ro  r  r5  r  r   r  r   r8   )r   r  r   r  r  r  rI  r  r   r  r5  r  r   r  r   r8   )r   r  r   r  r   r  r   r  r   r  r  r  r   r  rI  r  rc  r  ro  r  r5  r  r   r  r   r8   )r   r  r   r  r   r  r  r  r   r  rI  r  r5  r  r   r  r   r8   )r   r  r   r  r   r8   )r   r  r   r  r   r  r   r8   )r   r  r   r8   r  r  r   s   @r   r8   r8   P  [    (-$"N GP(18A2;4=3< 1: CL6?1 D &	
 6 0 2 1	
& /'(
). A/0 412 
3 4  )2 4=3<1:CL.7 &
	 2 1 / A , 
   GP(18A )2;4=,53<  CL6?3 D &	
 6  0 2 * 1	
*
+0 A12 434 
5 6  )2  )4=,53<CL.7 &
	  2 * 1 A , 
   2;@I	 / >	
 
   !*,5@I  *	
 > 
  <	  NWC KC Cr   r8   c                  b    e Zd ZdZdZdZedd       Zeeddd       Zeedd d       Zed!d	       Z	ed"d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d#d       Z
eeed	 	 	 	 	 d$d       Zeeeed	 	 	 	 	 	 	 d%d       Zed&d       Zed'd       Zeed	 	 	 d(d       Zed)d       Zed*d       Zed)d       Ze	 	 	 	 d+d       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 d,d       Zed-d       Zed.d       Zeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d/ fdZ xZS )0r:   a6  
    Href schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, Literal['binned'], :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    condition : dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    format : str, dict, :class:`Dict`
        When used with the default ``"number"`` and ``"time"`` format type, the text
        formatting pattern for labels of guides (axes, legends, headers) and text marks.

        * If the format type is ``"number"`` (e.g., for quantitative fields), this is D3's
          `number format pattern <https://github.com/d3/d3-format#locale_format>`__.
        * If the format type is ``"time"`` (e.g., for temporal fields), this is D3's `time
          format pattern <https://github.com/d3/d3-time-format#locale_format>`__.

        See the `format documentation <https://vega.github.io/vega-lite/docs/format.html>`__
        for more examples.

        When used with a `custom formatType
        <https://vega.github.io/vega-lite/docs/config.html#custom-format-type>`__, this
        value will be passed as ``format`` alongside ``datum.value`` to the registered
        function.

        **Default value:**  Derived from `numberFormat
        <https://vega.github.io/vega-lite/docs/config.html#format>`__ config for number
        format and from `timeFormat
        <https://vega.github.io/vega-lite/docs/config.html#format>`__ config for time
        format.
    formatType : str
        The format type for labels. One of ``"number"``, ``"time"``, or a `registered custom
        format type
        <https://vega.github.io/vega-lite/docs/config.html#custom-format-type>`__.

        **Default value:**

        * ``"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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fhrefc                    y r   r   r   s     r   r   zHref.aggregate  r  r   r   c                    y r   r   r   s     r   r   zHref.aggregate  r  r   r   c                    y r   r   r   s     r   r   zHref.aggregate  r  r   c                    y r   r   r   s     r   r   zHref.bandPosition  r  r   c                    y r   r   r   s     r   r   zHref.bin      HKr   r   c       
             y r   r   r   s              r   r   zHref.bin  r  r   r   c                    y r   r   r   s      r   r   zHref.condition  r  r   r   c                    y r   r   r   s       r   r   zHref.condition  r  r   c                    y r   r   r   s     r   r   zHref.condition  r  r   c                    y r   r   r   s     r   r   z
Href.field  r  r   r   c                    y r   r   r   s     r   r   z
Href.field  r  r   c                    y r   r   r   s     r   r  zHref.format      ),r   c                    y r   r   r   s     r   r  zHref.format  rA  r   c                    y r   r   r   s     r   r  zHref.formatType  r  r   c                    y r   r   r   s     r   ro  zHref.timeUnit  r  r   rp  c                    y r   r   rt  s         r   ro  zHref.timeUnit  r  r   c                    y r   r   r   s     r   r5  z
Href.title  r  r   c                    y r   r   r   s     r   r   z	Href.type  r   r   c                <    t        |   d|||||||||	|
|d| y rs  r|  rt  s                r   r}  zHref.__init__  ru  r   )r   r  r   r:   )r   r  r   r:   )r   r  r   r:   )r   r  r   r:   )r   rv  r   r:   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r:   )r   r  r   r  r   r:   )r   r  r   r  r   r  r   r:   )r   rw  r   r:   )r   r  r   r:   )r   r  r   r:   )r   r   r   r:   )r   rx  r   r:   )r   r  r   r:   )r   r  r   r  r   r  rq  r  rr  r  r   r:   )r   r  r   r:   )r   r  r   r:   ry  r{  r   s   @r   r:   r:     sB   }~ (-$N? ?@IW W@IW W4 4K K #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
   2;>G	 / <	
 
   !*,5>G  *	
 < 
  W W7 7 IR F 
	 
 , ,, ,0 0Q 
	 
  "+#, )JS'  !	
  H  
  B B5 5 GPFO(1LUMV2;3<$- CL6?
C
 D
 &	

 J
 K
 0
 1
 "


 A
 4
 
r   r:   c                      e Zd ZdZdZdZeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd	       Zeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeed	 	 	 	 	 dd       Zeeeed	 	 	 	 	 	 	 dd       Ze	 	 	 	 dd       Zef	 d fdZ	 xZ
S )r;   a  
    HrefValue schema wrapper.

    Parameters
    ----------
    condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`]
        A field definition or one or more value definition(s) with a parameter predicate.
    value : str, dict, :class:`ExprRef`, None
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr3  r  c                    y r   r   r  s               r   r   zHrefValue.condition  r  r   r  c                    y r   r   r  s           r   r   zHrefValue.condition4  r  r   r  c                    y r   r   r  s                r   r   zHrefValue.conditionB  r  r   r  c                    y r   r   r  s	            r   r   zHrefValue.condition^  r  r   r   c                    y r   r   r   s      r   r   zHrefValue.conditionm  r  r   r   c                    y r   r   r   s       r   r   zHrefValue.conditiont  r  r   c                    y r   r   r   s     r   r   zHrefValue.condition|  r  r   c                *    t        |   d||d| y r  r|  r  s       r   r}  zHrefValue.__init__  r  r   )r   r  r   r  r   r  r   r  r  r  rI  r  rc  r  r   r  ro  r  r5  r  r   r  r   r;   )r   r  r   r  r  r  rI  r  r   r  r5  r  r   r  r   r;   )r   r  r   r  r   r  r   r  r   r  r  r  r   r  rI  r  rc  r  ro  r  r5  r  r   r  r   r;   )r   r  r   r  r   r  r  r  r   r  rI  r  r5  r  r   r  r   r;   )r   r  r   r  r   r;   )r   r  r   r  r   r  r   r;   )r   r  r   r;   r  r  r   s   @r   r;   r;     s]    (-$N GP(18A2;4=3< 1: CL6?1 D &	
 6 0 2 1	
& /'(
). A/0 412 
3 4  )2 4=3<1:CL.7 &
	 2 1 / A , 
   GP(18A )2;4=,53<  CL6?3 D &	
 6  0 2 * 1	
*
+0 A12 434 
5 6  )2  )4=,53<CL.7 &
	  2 * 1 A , 
   2;EN	 / C	
 
   !*,5EN  *	
 C 
  @	  NWC KC Cr   r;   c                      e Zd ZdZdZdZedd       Zeeddd       Zeeddd       Zedd	       Z	edd
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Z
edd       Zeed	 	 	 dd       Ze	 	 	 	 dd       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 dd       Zed d       Zed!d       Zeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d" fdZ xZS )#r<   a,  
    Key schema wrapper.

    Definition object for a data field, its type and transformation of an encoding channel.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, Literal['binned'], :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fkeyc                    y r   r   r   s     r   r   zKey.aggregate)  re  r   r   c                    y r   r   r   s     r   r   zKey.aggregate+      SVr   r   c                    y r   r   r   s     r   r   zKey.aggregate-  rV  r   c                    y r   r   r   s     r   r   zKey.bandPosition/  r  r   c                    y r   r   r   s     r   r   zKey.bin1      GJr   r   c       
             y r   r   r   s              r   r   zKey.bin3       r   c                    y r   r   r   s     r   r   z	Key.fieldB  ry  r   r   c                    y r   r   r   s     r   r   z	Key.fieldD      
 r   c                    y r   r   r   s     r   ro  zKey.timeUnitJ  r_  r   rp  c                    y r   r   rt  s         r   ro  zKey.timeUnitP       r   c                    y r   r   r   s     r   r5  z	Key.titleZ  r  r   c                    y r   r   r   s     r   r   zKey.type\  r  r   c	                6    t        
|   d||||||||d|	 y r  r|  r  s             r   r}  zKey.__init___  r  r   )r   r  r   r<   )r   r  r   r<   )r   r  r   r<   )r   r  r   r<   )r   rv  r   r<   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r<   )r   r  r   r<   )r   r  r   r<   )r   r  r   r<   )r   r  r   r  r   r  rq  r  rr  r  r   r<   )r   r  r   r<   )r   r  r   r<   r  r  r   s   @r   r<   r<     sa   Xt (-$N> >@IV V@IV V3 3J J #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
  6 6 IR F 
	 
 Q 
	 
  "+#, )JS'  !	
  H  
  A A4 4 GPFO(1LU2; CL6?
C
 D
 &	

 J
 0


 A
 4
 
r   r<   c                  r    e Zd ZdZdZdZedd       Zeed	 	 	 dd       Zeed	 	 	 dd       Zedd	       Z	edd
       Z
edd       Zeed	 	 	 dd       Ze	 	 	 	 dd       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Zedd       Zeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS ) r=   a:,  
    Latitude schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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 : None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : Literal['quantitative']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Flatitudec                    y r   r   r   s     r   r   zLatitude.aggregate  rw  r   r   c                    y r   r   r   s     r   r   zLatitude.aggregate       r   r   c                    y r   r   r   s     r   r   zLatitude.aggregate  rj  r   c                    y r   r   r   s     r   r   zLatitude.bandPosition!  r   r   c                    y r   r   r   s     r   r   zLatitude.bin#      +.r   c                    y r   r   r   s     r   r   zLatitude.field%  rZ  r   r   c                    y r   r   r   s     r   r   zLatitude.field'      
 r   c                    y r   r   r   s     r   ro  zLatitude.timeUnit-  rq  r   rp  c                    y r   r   rt  s         r   ro  zLatitude.timeUnit3  s     r   c                    y r   r   r   s     r   r5  zLatitude.title=  rU  r   c                    y r   r   r   s     r   r   zLatitude.type?  r  r   c	                6    t        
|   d||||||||d|	 y r  r|  r  s             r   r}  zLatitude.__init__B  r  r   )r   r  r   r=   )r   r  r   r=   )r   r  r   r=   )r   r  r   r=   )r   Noner   r=   )r   r  r   r=   )r   r  r   r=   )r   r  r   r=   )r   r  r   r  r   r  rq  r  rr  r  r   r=   )r   r  r   r=   )r   Literal['quantitative']r   r=   r   r  r   r  r   r  r   Optional[None]r   r  ro  r  r5  r  r   z!Optional[Literal['quantitative']]r  r   s   @r   r=   r=   z  s   Vp (-$NC C6?3	  6?3	  8 8. .; ; IR F 
	 
 Q 
	 
  "+#, )JS'  !	
  H  
  F FB B GPFO(1'2; CL2;
C
 D
 &	

 
 0


 A
 0
 
r   r=   c                  t     e Zd ZdZdZdZedd       Zed	d       Zed
d       Z	e
e
e
f	 	 	 	 	 d fdZ xZS )rA   a  
    LatitudeDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Frg  c                    y r   r   r   s     r   r   zLatitudeDatum.bandPosition  r  r   c                    y r   r   r   s     r   r5  zLatitudeDatum.title  r9  r   c                    y r   r   r   s     r   r   zLatitudeDatum.type  ry  r   c                .    t        |   d||||d| y N)r   r   r5  r   r   r|  r   r   r   r5  r   r   r   s         r   r}  zLatitudeDatum.__init__  (     	 	
l%d	
NR	
r   )r   r  r   rA   )r   r  r   rA   )r   r  r   rA   r   r  r5  r  r   r  r   r   r   r  r  r   r	   r   r5  r   r   r}  r   r   s   @r   rA   rA   ]  su    aF (-$N= =K K6 6
 )2CL.7

 &

 A	


 ,

 

r   rA   c                  Z    e Zd ZdZdZdZedd       Zeed	 	 	 dd       Zeed	 	 	 dd       Zedd	       Z	edd
       Z
edd       Zeed	 	 	 dd       Ze	 	 	 	 dd       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Zeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS )r>   a$  
    Latitude2 schema wrapper.

    A field definition of a secondary channel that shares a scale with another primary channel.
    For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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 : None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    F	latitude2c                    y r   r   r   s     r   r   zLatitude2.aggregate7  rC  r   r   c                    y r   r   r   s     r   r   zLatitude2.aggregate9  r  r   r   c                    y r   r   r   s     r   r   zLatitude2.aggregate=  r  r   c                    y r   r   r   s     r   r   zLatitude2.bandPositionA  r%  r   c                    y r   r   r   s     r   r   zLatitude2.binC  r*  r   c                    y r   r   r   s     r   r   zLatitude2.fieldE  rq  r   r   c                    y r   r   r   s     r   r   zLatitude2.fieldG      
 r   c                    y r   r   r   s     r   ro  zLatitude2.timeUnitM  r  r   rp  c                    y r   r   rt  s         r   ro  zLatitude2.timeUnitS       r   c                    y r   r   r   s     r   r5  zLatitude2.title]  r  r   c                4    t        	|   d|||||||d| y N)r   r   r   r   r   ro  r5  r   r|  
r   r   r   r   r   r   ro  r5  r   r   s
            r   r}  zLatitude2.__init__`  6     	 		
%		
 		
r   )r   r  r   r>   )r   r  r   r>   )r   r  r   r>   )r   r  r   r>   )r   rw  r   r>   )r   r  r   r>   )r   r  r   r>   )r   r  r   r>   )r   r  r   r  r   r  rq  r  rr  r  r   r>   )r   r  r   r>   r   r  r   r  r   r  r   rz  r   r  ro  r  r5  r  r   r   r   r  r  r   r	   r   r   r   r   r   ro  r5  r}  r   r   s   @r   r>   r>     s   Wr (-$ ND D6?3	  6?3	  9 9/ /< < IR F 
	 
 Q 
	 
  "+#, )JS'  !	
  H  
  G G GPFO(1'2; CL
C
 D
 &	

 
 0


 A
 
r   r>   c                  t     e Zd ZdZdZdZedd       Zed	d       Zed
d       Z	e
e
e
f	 	 	 	 	 d fdZ xZS )r?   a  
    Latitude2Datum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zLatitude2Datum.bandPosition  re  r   c                    y r   r   r   s     r   r5  zLatitude2Datum.title      ILr   c                    y r   r   r   s     r   r   zLatitude2Datum.type  r  r   c                .    t        |   d||||d| y r  r|  r  s         r   r}  zLatitude2Datum.__init__  r  r   )r   r  r   r?   )r   r  r   r?   )r   r  r   r?   r  r  r   s   @r   r?   r?   y  u    aF (-$ N> >L L7 7
 )2CL.7

 &

 A	


 ,

 

r   r?   c                  *     e Zd ZdZdZdZ fdZ xZS )r@   a  
    Latitude2Value schema wrapper.

    Definition object for a constant value (primitive value or gradient definition) of an
    encoding channel.

    Parameters
    ----------
    value : dict, float, :class:`ExprRef`, Literal['height', 'width']
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  c                (    t        |   dd|i| y Nr   r   r|  r   r   r   r   s      r   r}  zLatitude2Value.__init__      -u--r   r   r   r   r  r  r   r}  r   r   s   @r   r@   r@     s     (-$ N. .r   r@   c                  r    e Zd ZdZdZdZedd       Zeed	 	 	 dd       Zeed	 	 	 dd       Zedd	       Z	edd
       Z
edd       Zeed	 	 	 dd       Ze	 	 	 	 dd       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Zedd       Zeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS ) rB   a;,  
    Longitude schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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 : None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : Literal['quantitative']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    F	longitudec                    y r   r   r   s     r   r   zLongitude.aggregate  rC  r   r   c                    y r   r   r   s     r   r   zLongitude.aggregate  r  r   r   c                    y r   r   r   s     r   r   zLongitude.aggregate  r  r   c                    y r   r   r   s     r   r   zLongitude.bandPosition  r%  r   c                    y r   r   r   s     r   r   zLongitude.bin  r*  r   c                    y r   r   r   s     r   r   zLongitude.field  rq  r   r   c                    y r   r   r   s     r   r   zLongitude.field  r  r   c                    y r   r   r   s     r   ro  zLongitude.timeUnit  r  r   rp  c                    y r   r   rt  s         r   ro  zLongitude.timeUnit  r  r   c                    y r   r   r   s     r   r5  zLongitude.title  r  r   c                    y r   r   r   s     r   r   zLongitude.type  rw  r   c	                6    t        
|   d||||||||d|	 y r  r|  r  s             r   r}  zLongitude.__init__  r  r   )r   r  r   rB   )r   r  r   rB   )r   r  r   rB   )r   r  r   rB   )r   rw  r   rB   )r   r  r   rB   )r   r  r   rB   )r   r  r   rB   )r   r  r   r  r   r  rq  r  rr  r  r   rB   )r   r  r   rB   )r   rx  r   rB   ry  r  r   s   @r   rB   rB     s   Vp (-$ ND D6?3	  6?3	  9 9/ /< < IR F 
	 
 Q 
	 
  "+#, )JS'  !	
  H  
  G GC C GPFO(1'2; CL2;
C
 D
 &	

 
 0


 A
 0
 
r   rB   c                  t     e Zd ZdZdZdZedd       Zed	d       Zed
d       Z	e
e
e
f	 	 	 	 	 d fdZ xZS )rF   a  
    LongitudeDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zLongitudeDatum.bandPositionW  re  r   c                    y r   r   r   s     r   r5  zLongitudeDatum.titleY  r  r   c                    y r   r   r   s     r   r   zLongitudeDatum.type[  r  r   c                .    t        |   d||||d| y r  r|  r  s         r   r}  zLongitudeDatum.__init__^  r  r   )r   r  r   rF   )r   r  r   rF   )r   r  r   rF   r  r  r   s   @r   rF   rF     r  r   rF   c                  Z    e Zd ZdZdZdZedd       Zeed	 	 	 dd       Zeed	 	 	 dd       Zedd	       Z	edd
       Z
edd       Zeed	 	 	 dd       Ze	 	 	 	 dd       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Zeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS )rC   a%  
    Longitude2 schema wrapper.

    A field definition of a secondary channel that shares a scale with another primary channel.
    For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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 : None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    F
longitude2c                    y r   r   r   s     r   r   zLongitude2.aggregate      BEr   r   c                    y r   r   r   s     r   r   zLongitude2.aggregate  r  r   r   c                    y r   r   r   s     r   r   zLongitude2.aggregate  r  r   c                    y r   r   r   s     r   r   zLongitude2.bandPosition  r  r   c                    y r   r   r   s     r   r   zLongitude2.bin  r  r   c                    y r   r   r   s     r   r   zLongitude2.field  r  r   r   c                    y r   r   r   s     r   r   zLongitude2.field      
 r   c                    y r   r   r   s     r   ro  zLongitude2.timeUnit  r  r   rp  c                    y r   r   rt  s         r   ro  zLongitude2.timeUnit       r   c                    y r   r   r   s     r   r5  zLongitude2.title  r  r   c                4    t        	|   d|||||||d| y r  r|  r  s
            r   r}  zLongitude2.__init__  r  r   )r   r  r   rC   )r   r  r   rC   )r   r  r   rC   )r   r  r   rC   )r   rw  r   rC   )r   r  r   rC   )r   r  r   rC   )r   r  r   rC   )r   r  r   r  r   r  rq  r  rr  r  r   rC   )r   r  r   rC   r  r  r   s   @r   rC   rC   k  s   Wr (-$!NE E6?3	  6?3	  : :0 0= = IR F 
	 
 Q 
	 
  "+#, )JS'  !	
  H  
  H H GPFO(1'2; CL
C
 D
 &	

 
 0


 A
 
r   rC   c                  t     e Zd ZdZdZdZedd       Zed	d       Zed
d       Z	e
e
e
f	 	 	 	 	 d fdZ xZS )rD   a  
    Longitude2Datum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zLongitude2Datum.bandPositions  r  r   c                    y r   r   r   s     r   r5  zLongitude2Datum.titleu  r  r   c                    y r   r   r   s     r   r   zLongitude2Datum.typew  r   r   c                .    t        |   d||||d| y r  r|  r  s         r   r}  zLongitude2Datum.__init__z  r  r   )r   r  r   rD   )r   r  r   rD   )r   r  r   rD   r  r  r   s   @r   rD   rD     su    aF (-$!N? ?M M8 8
 )2CL.7

 &

 A	


 ,

 

r   rD   c                  *     e Zd ZdZdZdZ fdZ xZS )rE   a  
    Longitude2Value schema wrapper.

    Definition object for a constant value (primitive value or gradient definition) of an
    encoding channel.

    Parameters
    ----------
    value : dict, float, :class:`ExprRef`, Literal['height', 'width']
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  c                (    t        |   dd|i| y r  r|  r  s      r   r}  zLongitude2Value.__init__  r  r   r  r   s   @r   rE   rE     s     (-$!N. .r   rE   c            D          e Zd ZdZdZdZed&d       Zeed	 	 	 d'd       Zeed	 	 	 d(d       Zed)d	       Z	ed*d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d+d       Z
eeed	 	 	 	 	 d,d       Zeeeed	 	 	 	 	 	 	 d-d       Ze	 	 	 	 d.d       Zed/d       Zeed	 	 	 d0d       Zed1d       ZeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedB	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d2d       Zed3d       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d4d       Ze	 	 	 	 d5d       Zeeeed	 	 	 	 	 	 	 d6d       Zeeed	 	 	 	 	 d7d       Ze	 	 	 	 d8d        Zeeeeeed!	 	 	 	 	 	 	 	 	 	 	 d9d"       Zed:d#       Zed;d$       Zeeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d< fd%Z xZS )=rG   a=  
    Opacity schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    legend : dict, :class:`Legend`, None
        An object defining properties of the legend. If ``null``, the legend for the
        encoding channel will be removed.

        **Default value:** If undefined, default `legend properties
        <https://vega.github.io/vega-lite/docs/legend.html>`__ are applied.

        **See also:** `legend <https://vega.github.io/vega-lite/docs/legend.html>`__
        documentation.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fopacityc                    y r   r   r   s     r   r   zOpacity.aggregate  r  r   r   c                    y r   r   r   s     r   r   zOpacity.aggregate       r   r   c                    y r   r   r   s     r   r   zOpacity.aggregate  r  r   c                    y r   r   r   s     r   r   zOpacity.bandPosition  r  r   c                    y r   r   r   s     r   r   zOpacity.bin  r  r   r   c       
             y r   r   r   s              r   r   zOpacity.bin       r   r   c                    y r   r   r   s      r   r   zOpacity.condition       r   r   c                    y r   r   r   s       r   r   zOpacity.condition       r   c                    y r   r   r   s     r   r   zOpacity.condition  r  r   c                    y r   r   r   s     r   r   zOpacity.field  r  r   r   c                    y r   r   r   s     r   r   zOpacity.field      
 r   c                    y r   r   r   s     r   r  zOpacity.legend  r%  r   r  c       B             y r   r   rF  sC                                                                      r   r  zOpacity.legend  s    T r   c                    y r   r   r   s     r   rI  zOpacity.scale%  r  r   rJ  c                    y r   r   r`  s                            r   rI  zOpacity.scale'      b r   c                    y r   r   r   s     r   rc  zOpacity.sortY       r   re  c                    y r   r   ri  s       r   rc  zOpacity.sortd  r  r   rj  c                    y r   r   rm  s      r   rc  zOpacity.sortl  r  r   c                    y r   r   r   s     r   ro  zOpacity.timeUnits  r  r   rp  c                    y r   r   rt  s         r   ro  zOpacity.timeUnity       r   c                    y r   r   r   s     r   r5  zOpacity.title  r  r   c                    y r   r   r   s     r   r   zOpacity.type  r   r   c                >    t        |   d|||||||||	|
||d| y r{  r|  r~  s                 r   r}  zOpacity.__init__  r  r   )r   r  r   rG   )r   r  r   rG   )r   r  r   rG   )r   r  r   rG   )r   r  r   rG   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   rG   )r   r  r   r  r   rG   )r   r  r   r  r   r  r   rG   )r   r  r   rG   )r   r  r   rG   )r   r  r   rG   )r   r  r   rG   )r  r  r  r  r  r  r  r  r  r  r	  r  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r!  r  r"  r  r#  r  r$  r  r%  r  r&  r  r'  r  r(  r  r)  r  r*  r  r+  r  r,  r  r-  r  r.  r  r/  r  r0  r  r1  r  r2  r  r3  r  r4  r  r5  r  r6  r  r7  r  r8  r  r9  r  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  r@  r  rA  r  rB  r  r   r  rC  r  rD  r  r   rG   )r   r  r   rG   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   rG   )r   r  r   rG   )r   r  rf  r  rg  r  r   rG   )rk  r  rg  r  r   rG   )r   r  r   rG   )r   r  r   r  r   r  rq  r  rr  r  r   rG   )r   r  r   rG   )r   r  r   rG   r  r  r   s   @r   rG   rG     s
   Yv (-$NB B6?3	  6?3	  7 7: : #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
   2;@I	 / >	
 
   !*,5@I  *	
 > 
  <	  : : IR F 
	 
 9 9 ?HENHQBKGPDM:C 3<$-IRJS NWLULUGP  #,BKHQGP ENFOGP GPJSBKBKAJ8ABKEN  KT FOGPHQEN LUCL FOCLGPNW  BKHQGP ENJSGPIRGP8A "+Qi <i C	i
 Fi @i Ei Bi 8i
i 1i "i Gi  H!i"
#i( L)i* J+i, J-i. E/i0
1i6
7i< !=i> @?i@ FAiB ECiD
EiJ CKiL DMiN EOiP
QiV EWiX HYiZ @[i\ @]i^ ?_i` 6aib @cid Ceif
gil
mir Isit
uiz D{i| E}i~ Fi@ CAiB
CiH JIiJ AKiL
MiR DSiT AUiV EWiX LYiZ
[i`
aif @gih Fiij Ekil
mir Csit Huiv Ewix Gyiz E{i| 6}i~
iP  QiR 
Si iT 7 7 AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b 		 
	 	  3<9B;D 0 7	
 9 
   <E;D	 9 9	
 
  Q 
	 
  "+#, )JS'  !	
  H  
  E E8 8 GPFO(18AMV2;4=3<  CL6?1)
C)
 D)
 &	)

 6)
 K)
 0)
 2)
 1)
	
)
(
))
. A/)
0 41)
 )
r   rG   c                       e Zd ZdZdZdZedd       Zeeed	 	 	 	 	 dd       Z	eeeed	 	 	 	 	 	 	 dd       Z	e	 	 	 	 dd	       Z	edd
       Z
edd       Zeeeef	 	 	 	 	 	 	 d fdZ xZS )rH   a  
    OpacityDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    datum : str, bool, dict, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zOpacityDatum.bandPosition#  rq  r   r   c                    y r   r   r   s      r   r   zOpacityDatum.condition%       r   r   c                    y r   r   r   s       r   r   zOpacityDatum.condition,       r   c                    y r   r   r   s     r   r   zOpacityDatum.condition4       r   c                    y r   r   r   s     r   r5  zOpacityDatum.title8  rZ  r   c                    y r   r   r   s     r   r   zOpacityDatum.type:  r   r   c           	     0    t        |   d|||||d| y r  r|  r  s          r   r}  zOpacityDatum.__init__=  r  r   )r   r  r   rH   )r   r  r   r  r   rH   )r   r  r   r  r   r  r   rH   )r   r  r   rH   )r   r  r   rH   )r   r  r   rH   r  r  r   s   @r   rH   rH     s(   hT (-$N< < 2;@I	 / >	
 
   !*,5@I  *	
 > 
  <	  J J5 5
 )2MVCL.7
 &
 K	

 A
 ,
 
r   rH   c                      e Zd ZdZdZdZeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd	       Zeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeed	 	 	 	 	 dd       Zeeeed	 	 	 	 	 	 	 dd       Ze	 	 	 	 dd       Zef	 d fdZ	 xZ
S )rI   a  
    OpacityValue schema wrapper.

    Parameters
    ----------
    condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`]
        A field definition or one or more value definition(s) with a parameter predicate.
    value : dict, float, :class:`ExprRef`
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  r  c                    y r   r   r  s               r   r   zOpacityValue.conditiond      4 r   r  c                    y r   r   r  s           r   r   zOpacityValue.condition       r   r  c                    y r   r   r  s                r   r   zOpacityValue.condition      6 r   r  c                    y r   r   r  s	            r   r   zOpacityValue.condition       r   r   c                    y r   r   r   s      r   r   zOpacityValue.condition  r  r   r   c                    y r   r   r   s       r   r   zOpacityValue.condition  r  r   c                    y r   r   r   s     r   r   zOpacityValue.condition  r  r   c                *    t        |   d||d| y r  r|  r  s       r   r}  zOpacityValue.__init__  r  r   )r   r  r   r  r   r  r   r  r  r  rI  r  rc  r  r   r  ro  r  r5  r  r   r  r   rI   )r   r  r   r  r  r  rI  r  r   r  r5  r  r   r  r   rI   )r   r  r   r  r   r  r   r  r   r  r  r  r   r  rI  r  rc  r  ro  r  r5  r  r   r  r   rI   )r   r  r   r  r   r  r  r  r   r  rI  r  r5  r  r   r  r   rI   )r   r  r   r  r   rI   )r   r  r   r  r   r  r   rI   )r   r  r   rI   r  r  r   s   @r   rI   rI   P  s[    (-$N GP(18A2;4=3< 1: CL6?1 D &	
 6 0 2 1	
& /'(
). A/0 412 
3 4  )2 4=3<1:CL.7 &
	 2 1 / A , 
   GP(18A )2;4=,53<  CL6?3 D &	
 6  0 2 * 1	
*
+0 A12 434 
5 6  )2  )4=,53<CL.7 &
	  2 * 1 A , 
   2;@I	 / >	
 
   !*,5@I  *	
 > 
  <	  NWC KC Cr   rI   c                      e Zd ZdZdZdZedd       Zeeddd       Zeeddd       Zedd	       Z	edd
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Z
edd       Zeed	 	 	 dd       Zedd       Ze	 	 	 	 d d       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 d!d       Zed"d       Zed#d       Zeeeeeeeeef		 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d$ fdZ xZS )%rJ   a3-  
    Order schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, Literal['binned'], :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Frg  c                    y r   r   r   s     r   r   zOrder.aggregatet  r   r   r   c                    y r   r   r   s     r   r   zOrder.aggregatev  r   r   r   c                    y r   r   r   s     r   r   zOrder.aggregatex  r   r   c                    y r   r   r   s     r   r   zOrder.bandPositionz  r   r   c                    y r   r   r   s     r   r   z	Order.bin|  r  r   r   c       
             y r   r   r   s              r   r   z	Order.bin~  r   r   c                    y r   r   r   s     r   r   zOrder.field  r   r   r   c                    y r   r   r   s     r   r   zOrder.field  r   r   c                    y r   r   r   s     r   rc  z
Order.sort  r  r   c                    y r   r   r   s     r   ro  zOrder.timeUnit  r   r   rp  c                    y r   r   rt  s         r   ro  zOrder.timeUnit  ru  r   c                    y r   r   r   s     r   r5  zOrder.title  rw  r   c                    y r   r   r   s     r   r   z
Order.type  ry  r   c
                8    t        |   d|||||||||	d	|
 y )N)	r   r   r   r   r   rc  ro  r5  r   r   r|  )r   r   r   r   r   r   rc  ro  r5  r   r   r   s              r   r}  zOrder.__init__  s<     	 	
%	
 	
r   )r   r  r   rJ   )r   r  r   rJ   )r   r  r   rJ   )r   r  r   rJ   )r   rv  r   rJ   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   rJ   )r   r  r   rJ   )r   r  r   rJ   )r   SortOrder_Tr   rJ   )r   r  r   rJ   )r   r  r   r  r   r  rq  r  rr  r  r   rJ   )r   r  r   rJ   )r   r  r   rJ   )r   r  r   r  r   r  r   rz  r   r  rc  z"Optional[SchemaBase | SortOrder_T]ro  r  r5  r  r   r  )r   r   r   r  r  r   r	   r   r   r   r   r   rc  ro  r5  r   r}  r   r   s   @r   rJ   rJ     s|   Xt (-$N@ @@IX X@IX X5 5L L #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
  8 8 IR F 
	 
 3 3Q 
	 
  "+#, )JS'  !	
  H  
  C C6 6 GPFO(1LU2;3< CL6?
C
 D
 &	

 J
 0
 1


 A
 4
 
r   rJ   c                       e Zd ZdZdZdZeeed	 	 	 	 	 d
d       Zeeeed	 	 	 	 	 	 	 dd       Zedd       Zef	 d fd	Z	 xZ
S )rK   a  
    OrderValue schema wrapper.

    Parameters
    ----------
    value : dict, float, :class:`ExprRef`
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ 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`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    Frg  r   c                    y r   r   r   s      r   r   zOrderValue.condition  r  r   r   c                    y r   r   r   s       r   r   zOrderValue.condition  r  r   c                    y r   r   r   s     r   r   zOrderValue.condition  rV  r   c                *    t        |   d||d| y r  r|  r  s       r   r}  zOrderValue.__init__  r  r   )r   r  r   r  r   rK   )r   r  r   r  r   r  r   rK   )r   z$list[core.ConditionalValueDefnumber]r   rK   r  r  r   s   @r   rK   rK     s    $ (-$N 2;!*	 / 	
 
   !*,5!*  *	
  
  V V
 NWC KC Cr   rK   c                      e Zd ZdZdZdZedd       Zeed	 	 	 d d       Zeed	 	 	 d!d       Zed"d	       Z	ed#d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d$d       Z
ed%d       Zeed	 	 	 d&d       Zed'd       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d(d       Ze	 	 	 	 d)d       Zeeeed	 	 	 	 	 	 	 d*d       Zeeed	 	 	 	 	 d+d       Zed,d       Ze	 	 	 	 d-d       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 d.d       Zed/d       Zed0d       Zeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d1 fdZ xZS )2rL   a@  
    Radius schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, Literal['binned'], :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        documentation.
    stack : bool, :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None
        Type of stacking offset if the field should be stacked. ``stack`` is only applicable
        for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For
        example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar
        chart.

        ``stack`` can be one of the following values:

        * ``"zero"`` or ``true``: stacking with baseline offset at zero value of the scale
          (for creating typical stacked `bar
          <https://vega.github.io/vega-lite/docs/stack.html#bar>`__ and `area
          <https://vega.github.io/vega-lite/docs/stack.html#area>`__ chart).
        * ``"normalize"`` - stacking with normalized domain (for creating `normalized
          stacked bar and area charts
          <https://vega.github.io/vega-lite/docs/stack.html#normalized>`__ and pie charts
          `with percentage tooltip
          <https://vega.github.io/vega-lite/docs/arc.html#tooltip>`__).
        * ``"center"`` - stacking with center baseline (for `streamgraph
          <https://vega.github.io/vega-lite/docs/stack.html#streamgraph>`__).
        * ``null`` or ``false`` - No-stacking. This will produce layered `bar
          <https://vega.github.io/vega-lite/docs/stack.html#layered-bar-chart>`__ and area
          chart.

        **Default value:** ``zero`` for plots with all of the following conditions are true:
        (1) the mark is ``bar``, ``area``, or ``arc``; (2) the stacked measure channel (x or
        y) has a linear scale; (3) At least one of non-position channels mapped to an
        unaggregated field that is different from x and y. Otherwise, ``null`` by default.

        **See also:** `stack <https://vega.github.io/vega-lite/docs/stack.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fradiusc                    y r   r   r   s     r   r   zRadius.aggregate   r  r   r   c                    y r   r   r   s     r   r   zRadius.aggregate   r   r   r   c                    y r   r   r   s     r   r   zRadius.aggregate   r   r   c                    y r   r   r   s     r   r   zRadius.bandPosition   ry  r   c                    y r   r   r   s     r   r   z
Radius.bin   r  r   r   c       
             y r   r   r   s              r   r   z
Radius.bin   r'  r   c                    y r   r   r   s     r   r   zRadius.field!  r%  r   r   c                    y r   r   r   s     r   r   zRadius.field!  r-  r   c                    y r   r   r   s     r   rI  zRadius.scale!  ry  r   rJ  c                    y r   r   r`  s                            r   rI  zRadius.scale!      b r   c                    y r   r   r   s     r   rc  zRadius.sortB!       r   re  c                    y r   r   ri  s       r   rc  zRadius.sortM!  r;  r   rj  c                    y r   r   rm  s      r   rc  zRadius.sortU!       r   c                    y r   r   r   s     r   stackzRadius.stack\!  r  r   c                    y r   r   r   s     r   ro  zRadius.timeUnit^!  r-  r   rp  c                    y r   r   rt  s         r   ro  zRadius.timeUnitd!  rA  r   c                    y r   r   r   s     r   r5  zRadius.titlen!  rC  r   c                    y r   r   r   s     r   r   zRadius.typep!  r  r   c                <    t        |   d|||||||||	|
|d| y N)r   r   r   r   r   rI  rc  r1  ro  r5  r   r   r|  r   r   r   r   r   r   rI  rc  r1  ro  r5  r   r   r   s                r   r}  zRadius.__init__s!  B    4 	 	
%	
 	
r   )r   r  r   rL   )r   r  r   rL   )r   r  r   rL   )r   r  r   rL   )r   rv  r   rL   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   rL   )r   r  r   rL   )r   r  r   rL   )r   r  r   rL   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   rL   )r   r  r   rL   )r   r  rf  r  rg  r  r   rL   )rk  r  rg  r  r   rL   )r   bool | StackOffset_T | Noner   rL   )r   r  r   rL   )r   r  r   r  r   r  rq  r  rr  r  r   rL   )r   r  r   rL   )r   r  r   rL   r   r  r   r  r   r  r   rz  r   r  rI  r  rc  r  r1  2Optional[bool | SchemaBase | StackOffset_T | None]ro  r  r5  r  r   r  r   r   r   r  r  r   r	   r   r   r   r   r   rI  rc  r1  ro  r5  r   r}  r   r   s   @r   rL   rL     s   gR (-$NA A6?3	  6?3	  6 6M M #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
  9 9 IR F 
	 
 6 6 AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b 		 
	 	  3<9B;D 0 7	
 9 
   <E;D	 9 9	
 
  E EQ 
	 
  "+#, )JS'  !	
  H  
  D D7 7 GPFO(1LU2;3< DM CL6?/'
C'
 D'
 &	'

 J'
 0'
 1'
	
'
$ B%'
&
''
, A-'
. 4/'
 '
r   rL   c                  L    e Zd ZdZdZdZedd       Zedd       Zee	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	d	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Z
edd	       Zedd
       Ze	e	e	e	e	f	 	 	 	 	 	 	 	 	 d fdZ xZS )rP   a   
    RadiusDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    stack : bool, :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None
        Type of stacking offset if the field should be stacked. ``stack`` is only applicable
        for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For
        example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar
        chart.

        ``stack`` can be one of the following values:

        * ``"zero"`` or ``true``: stacking with baseline offset at zero value of the scale
          (for creating typical stacked `bar
          <https://vega.github.io/vega-lite/docs/stack.html#bar>`__ and `area
          <https://vega.github.io/vega-lite/docs/stack.html#area>`__ chart).
        * ``"normalize"`` - stacking with normalized domain (for creating `normalized
          stacked bar and area charts
          <https://vega.github.io/vega-lite/docs/stack.html#normalized>`__ and pie charts
          `with percentage tooltip
          <https://vega.github.io/vega-lite/docs/arc.html#tooltip>`__).
        * ``"center"`` - stacking with center baseline (for `streamgraph
          <https://vega.github.io/vega-lite/docs/stack.html#streamgraph>`__).
        * ``null`` or ``false`` - No-stacking. This will produce layered `bar
          <https://vega.github.io/vega-lite/docs/stack.html#layered-bar-chart>`__ and area
          chart.

        **Default value:** ``zero`` for plots with all of the following conditions are true:
        (1) the mark is ``bar``, ``area``, or ``arc``; (2) the stacked measure channel (x or
        y) has a linear scale; (3) At least one of non-position channels mapped to an
        unaggregated field that is different from x and y. Otherwise, ``null`` by default.

        **See also:** `stack <https://vega.github.io/vega-lite/docs/stack.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zRadiusDatum.bandPosition0"  rZ  r   c                    y r   r   r   s     r   rI  zRadiusDatum.scale2"  rZ  r   rJ  c                    y r   r   r`  s                            r   rI  zRadiusDatum.scale4"  r  r   c                    y r   r   r   s     r   r1  zRadiusDatum.stackf"  rZ  r   c                    y r   r   r   s     r   r5  zRadiusDatum.titleh"  ro  r   c                    y r   r   r   s     r   r   zRadiusDatum.typej"  r  r   c           
     2    t        |   d||||||d| y N)r   r   rI  r1  r5  r   r   r|  	r   r   r   rI  r1  r5  r   r   r   s	           r   r}  zRadiusDatum.__init__m"  3     	 	
%	
 	
r   )r   r  r   rP   )r   r  r   rP   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   rP   )r   r:  r   rP   )r   r  r   rP   )r   r  r   rP   
r   r  rI  r  r1  r<  r5  r  r   r  r   r   r   r  r  r   r	   r   rI  r   r1  r5  r   r}  r   r   s   @r   rP   rP   !  s5   L\ (-$N; ;; ; AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b J JI I4 4
 )23<DMCL.7
 &
 1	

 B
 A
 ,
 
r   rP   c                  *     e Zd ZdZdZdZ fdZ xZS )rQ   a  
    RadiusValue schema wrapper.

    Definition object for a constant value (primitive value or gradient definition) of an
    encoding channel.

    Parameters
    ----------
    value : dict, float, :class:`ExprRef`, Literal['height', 'width']
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  c                (    t        |   dd|i| y r  r|  r  s      r   r}  zRadiusValue.__init__"  r  r   r  r   s   @r   rQ   rQ   "       (-$N. .r   rQ   c                  Z    e Zd ZdZdZdZedd       Zeed	 	 	 dd       Zeed	 	 	 dd       Zedd	       Z	edd
       Z
edd       Zeed	 	 	 dd       Ze	 	 	 	 dd       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Zeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS )rM   a"  
    Radius2 schema wrapper.

    A field definition of a secondary channel that shares a scale with another primary channel.
    For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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 : None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    Fradius2c                    y r   r   r   s     r   r   zRadius2.aggregate"  r  r   r   c                    y r   r   r   s     r   r   zRadius2.aggregate"  r  r   r   c                    y r   r   r   s     r   r   zRadius2.aggregate"  r  r   c                    y r   r   r   s     r   r   zRadius2.bandPosition#  r  r   c                    y r   r   r   s     r   r   zRadius2.bin#      *-r   c                    y r   r   r   s     r   r   zRadius2.field#  r  r   r   c                    y r   r   r   s     r   r   zRadius2.field#  r  r   c                    y r   r   r   s     r   ro  zRadius2.timeUnit#  r  r   rp  c                    y r   r   rt  s         r   ro  zRadius2.timeUnit#  r  r   c                    y r   r   r   s     r   r5  zRadius2.title#  r  r   c                4    t        	|   d|||||||d| y r  r|  r  s
            r   r}  zRadius2.__init__ #  r  r   )r   r  r   rM   )r   r  r   rM   )r   r  r   rM   )r   r  r   rM   )r   rw  r   rM   )r   r  r   rM   )r   r  r   rM   )r   r  r   rM   )r   r  r   r  r   r  rq  r  rr  r  r   rM   )r   r  r   rM   r  r  r   s   @r   rM   rM   "     Wr (-$NB B6?3	  6?3	  7 7- -: : IR F 
	 
 Q 
	 
  "+#, )JS'  !	
  H  
  E E GPFO(1'2; CL
C
 D
 &	

 
 0


 A
 
r   rM   c                  t     e Zd ZdZdZdZedd       Zed	d       Zed
d       Z	e
e
e
f	 	 	 	 	 d fdZ xZS )rN   a  
    Radius2Datum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    FrO  c                    y r   r   r   s     r   r   zRadius2Datum.bandPosition#  rq  r   c                    y r   r   r   s     r   r5  zRadius2Datum.title#  rZ  r   c                    y r   r   r   s     r   r   zRadius2Datum.type#  r   r   c                .    t        |   d||||d| y r  r|  r  s         r   r}  zRadius2Datum.__init__#  r  r   )r   r  r   rN   )r   r  r   rN   )r   r  r   rN   r  r  r   s   @r   rN   rN   9#  su    aF (-$N< <J J5 5
 )2CL.7

 &

 A	


 ,

 

r   rN   c                  *     e Zd ZdZdZdZ fdZ xZS )rO   a  
    Radius2Value schema wrapper.

    Definition object for a constant value (primitive value or gradient definition) of an
    encoding channel.

    Parameters
    ----------
    value : dict, float, :class:`ExprRef`, Literal['height', 'width']
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    FrO  c                (    t        |   dd|i| y r  r|  r  s      r   r}  zRadius2Value.__init__#  r  r   r  r   s   @r   rO   rO   #       (-$N. .r   rO   c            "      <    e Zd ZdZdZdZedd       Zeedd d       Zeedd!d       Zed"d	       Z	ed#d
       Z
ed$d       Zeeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d%d       Zed&d       Zed'd       Zeed	 	 	 d(d       Zed)d       Zeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d*d       Ze	 	 	 	 d+d       Zeeeed	 	 	 	 	 	 	 d,d       Zed#d       Ze	 	 	 	 d-d       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 d.d       Zed/d       Zed0d       Zeeeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d1 fdZ xZS )2rR   a7  
    Row schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    align : :class:`LayoutAlign`, Literal['all', 'each', 'none']
        The alignment to apply to row/column facet's subplot. The supported string values
        are ``"all"``, ``"each"``, and ``"none"``.

        * For ``"none"``, a flow layout will be used, in which adjacent subviews are simply
          placed one after the other.
        * For ``"each"``, subviews will be aligned into a clean grid structure, but each row
          or column may be of variable size.
        * For ``"all"``, subviews will be aligned and each row or column will be sized
          identically based on the maximum observed size. String values for this property
          will be applied to both grid rows and columns.

        **Default value:** ``"all"``.
    bandPosition : float
        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, :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    center : bool
        Boolean flag indicating if facet's subviews should be centered relative to their
        respective rows or columns.

        **Default value:** ``false``
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    header : dict, :class:`Header`, None
        An object defining properties of a facet's header.
    sort : dict, Sequence[str], Sequence[bool], Sequence[float], :class:`SortArray`, :class:`SortOrder`, :class:`EncodingSortField`, Sequence[dict, :class:`DateTime`], Literal['ascending', 'descending'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` is not supported for ``row`` and ``column``.
    spacing : float
        The spacing in pixels between facet's sub-views.

        **Default value**: Depends on ``"spacing"`` property of `the view composition
        configuration <https://vega.github.io/vega-lite/docs/config.html#view-config>`__
        (``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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zRow.aggregate$  re  r   r   c                    y r   r   r   s     r   r   zRow.aggregate$  rV  r   r   c                    y r   r   r   s     r   r   zRow.aggregate$  rV  r   c                    y r   r   r   s     r   rK  z	Row.align$  r  r   c                    y r   r   r   s     r   r   zRow.bandPosition$  r  r   c                    y r   r   r   s     r   r   zRow.bin$  ry  r   r   c       
             y r   r   r   s              r   r   zRow.bin$  r\  r   c                    y r   r   r   s     r   r)  z
Row.center$  rA  r   c                    y r   r   r   s     r   r   z	Row.field$  ry  r   r   c                    y r   r   r   s     r   r   z	Row.field$  r_  r   c                    y r   r   r   s     r   r/  z
Row.header$  r   r   r0  c                     y r   r   r8  s!                                    r   r/  z
Row.header$  s    ` r   c                    y r   r   r   s     r   rc  zRow.sort$  s     r   re  c                    y r   r   ri  s       r   rc  zRow.sort%       r   c                    y r   r   r   s     r   r=  zRow.spacing	%  rn  r   c                    y r   r   r   s     r   ro  zRow.timeUnit%  r_  r   rp  c                    y r   r   rt  s         r   ro  zRow.timeUnit%  rb  r   c                    y r   r   r   s     r   r5  z	Row.title%  r  r   c                    y r   r   r   s     r   r   zRow.type%  r  r   c                @    t        |   d|||||||||	|
|||d| y rF  r|  rG  s                  r   r}  zRow.__init__ %  rH  r   )r   r  r   rR   )r   r  r   rR   )r   r  r   rR   )r   rI  r   rR   )r   r  r   rR   )r   r  r   rR   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   rR   )r   r   r   rR   )r   r  r   rR   )r   r  r   rR   )r   rJ  r   rR   )Br  r  r  r  r  r  r1  rK  r2  r  r  r  r  rL  r  r  r  r  r  r  r  r  r  r  r  r  r3  r  r4  rM  r   r  r5  r  r%  rM  r5  r  r6  r  r7  rK  r6  r  r8  r  r9  rL  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  rA  rM  rB  r  r   rR   )r   rN  r   rR   )r   r  rf  r  rg  r  r   rR   )r   r  r   rR   )r   r  r   r  r   r  rq  r  rr  r  r   rR   )r   r  r   rR   )r   r  r   rR   rO  rR  r   s   @r   rR   rR   #  s;   JX (-$N> >@IV V@IV V4 43 36 6 #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
  , ,6 6 IR F 
	 
 5 5 4=$-GP<E&/  #,BKHQGP ENJS7@GP!*2;CLGP<E&/  BKHQGP ENJS7@GP]/ 1/ "	/
 E/ :/ $/
/
/ !/ @/  F!/" E#/$
%/* C+/, H-/. 5//0 E1/2 3/4 05/6 A7/8 E9/: :;/< $=/>
?/D
E/J @K/L FM/N EO/P
Q/V CW/X HY/Z 5[/\ E]/^ 
_/ /` 

 

 
  3<9B;D 0 7	
 9 
  . .Q 
	 
  "+#, )JS'  !	
  H  
  A A4 4 GPFO6?(18A!*2;4= #, CL6?3+
C+
 D+
 4	+

 &+
 6+
 +
 0+
 2+
	
+
( !)+
*
++
0 A1+
2 43+
 +
r   rR   c            D          e Zd ZdZdZdZed&d       Zeedd'd       Zeedd(d       Zed)d	       Z	ed*d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d+d       Z
eeed	 	 	 	 	 d,d       Zeeeed	 	 	 	 	 	 	 d-d       Ze	 	 	 	 d.d       Zed/d       Zeed	 	 	 d0d       Zed1d       ZeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedB	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d2d       Zed3d       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d4d       Ze	 	 	 	 d5d       Zeeeed	 	 	 	 	 	 	 d6d       Zeeed	 	 	 	 	 d7d       Ze	 	 	 	 d8d        Zeeeeeed!	 	 	 	 	 	 	 	 	 	 	 d9d"       Zed:d#       Zed;d$       Zeeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d< fd%Z xZS )=rS   a=  
    Shape schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    condition : dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    legend : dict, :class:`Legend`, None
        An object defining properties of the legend. If ``null``, the legend for the
        encoding channel will be removed.

        **Default value:** If undefined, default `legend properties
        <https://vega.github.io/vega-lite/docs/legend.html>`__ are applied.

        **See also:** `legend <https://vega.github.io/vega-lite/docs/legend.html>`__
        documentation.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`TypeForShape`, Literal['nominal', 'ordinal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fshapec                    y r   r   r   s     r   r   zShape.aggregate1&  r   r   r   c                    y r   r   r   s     r   r   zShape.aggregate3&  r   r   r   c                    y r   r   r   s     r   r   zShape.aggregate5&  r   r   c                    y r   r   r   s     r   r   zShape.bandPosition7&  r   r   c                    y r   r   r   s     r   r   z	Shape.bin9&  r   r   r   c       
             y r   r   r   s              r   r   z	Shape.bin;&  r   r   r   c                    y r   r   r   s      r   r   zShape.conditionJ&  r   r   r   c                    y r   r   r   s       r   r   zShape.conditionQ&  r   r   c                    y r   r   r   s     r   r   zShape.conditionY&  r  r   c                    y r   r   r   s     r   r   zShape.field]&  r   r   r   c                    y r   r   r   s     r   r   zShape.field_&  r   r   c                    y r   r   r   s     r   r  zShape.legende&  r  r   r  c       B             y r   r   rF  sC                                                                      r   r  zShape.legendg&  rG  r   c                    y r   r   r   s     r   rI  zShape.scale&  r   r   rJ  c                    y r   r   r`  s                            r   rI  zShape.scale&  ra  r   c                    y r   r   r   s     r   rc  z
Shape.sort'  rd  r   re  c                    y r   r   ri  s       r   rc  z
Shape.sort'  r   r   rj  c                    y r   r   rm  s      r   rc  z
Shape.sort'  r   r   c                    y r   r   r   s     r   ro  zShape.timeUnit '  r   r   rp  c                    y r   r   rt  s         r   ro  zShape.timeUnit&'  ru  r   c                    y r   r   r   s     r   r5  zShape.title0'  rw  r   c                    y r   r   r   s     r   r   z
Shape.type2'  ry  r   c                >    t        |   d|||||||||	|
||d| y r{  r|  r~  s                 r   r}  zShape.__init__5'  r  r   )r   r  r   rS   )r   r  r   rS   )r   r  r   rS   )r   r  r   rS   )r   r  r   rS   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   rS   )r   r  r   r  r   rS   )r   r  r   r  r   r  r   rS   )r   r  r   rS   )r   r  r   rS   )r   r  r   rS   )r   r  r   rS   )r  r  r  r  r  r  r  r  r  r  r	  r  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r!  r  r"  r  r#  r  r$  r  r%  r  r&  r  r'  r  r(  r  r)  r  r*  r  r+  r  r,  r  r-  r  r.  r  r/  r  r0  r  r1  r  r2  r  r3  r  r4  r  r5  r  r6  r  r7  r  r8  r  r9  r  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  r@  r  rA  r  rB  r  r   r  rC  r  rD  r  r   rS   )r   r  r   rS   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   rS   )r   r  r   rS   )r   r  rf  r  rg  r  r   rS   )rk  r  rg  r  r   rS   )r   r  r   rS   )r   r  r   r  r   r  rq  r  rr  r  r   rS   )r   r  r   rS   )r   TypeForShape_Tr   rS   )r   r  r   r  r   r  r   r  r   r  r   r  r  r  rI  r  rc  r  ro  r  r5  r  r   %Optional[SchemaBase | TypeForShape_T]r  r   s   @r   rS   rS   N%  s	   
Yv (-$N@ @@IX X@IX X5 58 8 #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
   2;EN	 / C	
 
   !*,5EN  *	
 C 
  @	  8 8 IR F 
	 
 7 7 ?HENHQBKGPDM:C 3<$-IRJS NWLULUGP  #,BKHQGP ENFOGP GPJSBKBKAJ8ABKEN  KT FOGPHQEN LUCL FOCLGPNW  BKHQGP ENJSGPIRGP8A "+Qi <i C	i
 Fi @i Ei Bi 8i
i 1i "i Gi  H!i"
#i( L)i* J+i, J-i. E/i0
1i6
7i< !=i> @?i@ FAiB ECiD
EiJ CKiL DMiN EOiP
QiV EWiX HYiZ @[i\ @]i^ ?_i` 6aib @cid Ceif
gil
mir Isit
uiz D{i| E}i~ Fi@ CAiB
CiH JIiJ AKiL
MiR DSiT AUiV EWiX LYiZ
[i`
aif @gih Fiij Ekil
mir Csit Huiv Ewix Gyiz E{i| 6}i~
iP  QiR 
Si iT 5 5 AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b 		 
	 	  3<9B;D 0 7	
 9 
   <E;D	 9 9	
 
  Q 
	 
  "+#, )JS'  !	
  H  
  C C6 6 GPFO(18AMV2;4=3<  CL6?1)
C)
 D)
 &	)

 6)
 K)
 0)
 2)
 1)
	
)
(
))
. A/)
0 41)
 )
r   rS   c                       e Zd ZdZdZdZedd       Zeeed	 	 	 	 	 dd       Z	eeeed	 	 	 	 	 	 	 dd       Z	e	 	 	 	 dd	       Z	edd
       Z
edd       Zeeeef	 	 	 	 	 	 	 d fdZ xZS )rT   a  
    ShapeDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    datum : str, bool, dict, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr|  c                    y r   r   r   s     r   r   zShapeDatum.bandPosition'  r  r   r   c                    y r   r   r   s      r   r   zShapeDatum.condition'  r  r   r   c                    y r   r   r   s       r   r   zShapeDatum.condition'  r  r   c                    y r   r   r   s     r   r   zShapeDatum.condition'  r  r   c                    y r   r   r   s     r   r5  zShapeDatum.title'  r  r   c                    y r   r   r   s     r   r   zShapeDatum.type'  r  r   c           	     0    t        |   d|||||d| y r  r|  r  s          r   r}  zShapeDatum.__init__'  r  r   )r   r  r   rT   )r   r  r   r  r   rT   )r   r  r   r  r   r  r   rT   )r   r  r   rT   )r   r  r   rT   )r   r  r   rT   r  r  r   s   @r   rT   rT   a'  s*   hT (-$N: : 2;EN	 / C	
 
   !*,5EN  *	
 C 
  @	  H H3 3
 )2MVCL.7
 &
 K	

 A
 ,
 
r   rT   c                      e Zd ZdZdZdZeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd	       Zeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeed	 	 	 	 	 dd       Zeeeed	 	 	 	 	 	 	 dd       Ze	 	 	 	 dd       Zef	 d fdZ	 xZ
S )rU   a  
    ShapeValue schema wrapper.

    Parameters
    ----------
    condition : dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, :class:`ConditionalMarkPropFieldOrDatumDefTypeForShape`, :class:`ConditionalParameterMarkPropFieldOrDatumDefTypeForShape`, :class:`ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`]
        A field definition or one or more value definition(s) with a parameter predicate.
    value : str, dict, :class:`ExprRef`, None
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr|  r  c                    y r   r   r  s               r   r   zShapeValue.condition(  r  r   r  c                    y r   r   r  s           r   r   zShapeValue.condition/(  r  r   r  c                    y r   r   r  s                r   r   zShapeValue.condition=(  r  r   r  c                    y r   r   r  s	            r   r   zShapeValue.conditionY(  r  r   r   c                    y r   r   r   s      r   r   zShapeValue.conditionh(  r  r   r   c                    y r   r   r   s       r   r   zShapeValue.conditiono(  r  r   c                    y r   r   r   s     r   r   zShapeValue.conditionw(  r  r   c                *    t        |   d||d| y r  r|  r  s       r   r}  zShapeValue.__init__|(  r  r   )r   r  r   r  r   r  r   r  r  r  rI  r  rc  r  r   r  ro  r  r5  r  r   r  r   rU   )r   r  r   r  r  r  rI  r  r   r  r5  r  r   r  r   rU   )r   r  r   r  r   r  r   r  r   r  r  r  r   r  rI  r  rc  r  ro  r  r5  r  r   r  r   rU   )r   r  r   r  r   r  r  r  r   r  rI  r  r5  r  r   r  r   rU   )r   r  r   r  r   rU   )r   r  r   r  r   r  r   rU   )r   r  r   rU   r  r  r   s   @r   rU   rU   '  s]   
 (-$N GP(18A2;4=3< 1: CL6?1 D &	
 6 0 2 1	
& /'(
). A/0 412 
3 4  )2 4=3<1:CL.7 &
	 2 1 / A , 
   GP(18A )2;4=,53<  CL6?3 D &	
 6  0 2 * 1	
*
+0 A12 434 
5 6  )2  )4=,53<CL.7 &
	  2 * 1 A , 
   2;EN	 / C	
 
   !*,5EN  *	
 C 
  @	  NWC KC Cr   rU   c            D      
    e Zd ZdZdZdZed&d       Zeedd'd       Zeedd(d       Zed)d	       Z	ed*d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d+d       Z
eeed	 	 	 	 	 d,d       Zeeeed	 	 	 	 	 	 	 d-d       Zed.d       Zed/d       Zeed	 	 	 d0d       Zed1d       ZeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedB	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d2d       Zed3d       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d4d       Ze	 	 	 	 d5d       Zeeeed	 	 	 	 	 	 	 d6d       Zeeed	 	 	 	 	 d7d       Ze	 	 	 	 d8d        Zeeeeeed!	 	 	 	 	 	 	 	 	 	 	 d9d"       Zed:d#       Zed;d$       Zeeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d< fd%Z xZS )=rV   a=  
    Size schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    legend : dict, :class:`Legend`, None
        An object defining properties of the legend. If ``null``, the legend for the
        encoding channel will be removed.

        **Default value:** If undefined, default `legend properties
        <https://vega.github.io/vega-lite/docs/legend.html>`__ are applied.

        **See also:** `legend <https://vega.github.io/vega-lite/docs/legend.html>`__
        documentation.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fsizec                    y r   r   r   s     r   r   zSize.aggregatee)  r  r   r   c                    y r   r   r   s     r   r   zSize.aggregateg)  r  r   r   c                    y r   r   r   s     r   r   zSize.aggregatei)  r  r   c                    y r   r   r   s     r   r   zSize.bandPositionk)  r  r   c                    y r   r   r   s     r   r   zSize.binm)  r  r   r   c       
             y r   r   r   s              r   r   zSize.bino)  r  r   r   c                    y r   r   r   s      r   r   zSize.condition~)  r  r   r   c                    y r   r   r   s       r   r   zSize.condition)  r  r   c                    y r   r   r   s     r   r   zSize.condition)  r  r   c                    y r   r   r   s     r   r   z
Size.field)  r  r   r   c                    y r   r   r   s     r   r   z
Size.field)  r  r   c                    y r   r   r   s     r   r  zSize.legend)  ry  r   r  c       B             y r   r   rF  sC                                                                      r   r  zSize.legend)  r  r   c                    y r   r   r   s     r   rI  z
Size.scale*  r  r   rJ  c                    y r   r   r`  s                            r   rI  z
Size.scale*  r  r   c                    y r   r   r   s     r   rc  z	Size.sort8*  r  r   re  c                    y r   r   ri  s       r   rc  z	Size.sortC*  r  r   rj  c                    y r   r   rm  s      r   rc  z	Size.sortK*  r  r   c                    y r   r   r   s     r   ro  zSize.timeUnitR*  r  r   rp  c                    y r   r   rt  s         r   ro  zSize.timeUnitX*  r  r   c                    y r   r   r   s     r   r5  z
Size.titleb*  r  r   c                    y r   r   r   s     r   r   z	Size.typed*  r   r   c                >    t        |   d|||||||||	|
||d| y r{  r|  r~  s                 r   r}  zSize.__init__g*  r  r   )r   r  r   rV   )r   r  r   rV   )r   r  r   rV   )r   r  r   rV   )r   r  r   rV   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   rV   )r   r  r   r  r   rV   )r   r  r   r  r   r  r   rV   )r   r  r   rV   )r   r  r   rV   )r   r  r   rV   )r   r  r   rV   )r  r  r  r  r  r  r  r  r  r  r	  r  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r!  r  r"  r  r#  r  r$  r  r%  r  r&  r  r'  r  r(  r  r)  r  r*  r  r+  r  r,  r  r-  r  r.  r  r/  r  r0  r  r1  r  r2  r  r3  r  r4  r  r5  r  r6  r  r7  r  r8  r  r9  r  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  r@  r  rA  r  rB  r  r   r  rC  r  rD  r  r   rV   )r   r  r   rV   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   rV   )r   r  r   rV   )r   r  rf  r  rg  r  r   rV   )rk  r  rg  r  r   rV   )r   r  r   rV   )r   r  r   r  r   r  rq  r  rr  r  r   rV   )r   r  r   rV   )r   r  r   rV   r  r  r   s   @r   rV   rV   (  s	   Yv (-$N? ?@IW W@IW W4 47 7 #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
   2;@I	 / >	
 
   !*,5@I  *	
 > 
  W W7 7 IR F 
	 
 6 6 ?HENHQBKGPDM:C 3<$-IRJS NWLULUGP  #,BKHQGP ENFOGP GPJSBKBKAJ8ABKEN  KT FOGPHQEN LUCL FOCLGPNW  BKHQGP ENJSGPIRGP8A "+Qi <i C	i
 Fi @i Ei Bi 8i
i 1i "i Gi  H!i"
#i( L)i* J+i, J-i. E/i0
1i6
7i< !=i> @?i@ FAiB ECiD
EiJ CKiL DMiN EOiP
QiV EWiX HYiZ @[i\ @]i^ ?_i` 6aib @cid Ceif
gil
mir Isit
uiz D{i| E}i~ Fi@ CAiB
CiH JIiJ AKiL
MiR DSiT AUiV EWiX LYiZ
[i`
aif @gih Fiij Ekil
mir Csit Huiv Ewix Gyiz E{i| 6}i~
iP  QiR 
Si iT 4 4 AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b 		 
	 	  3<9B;D 0 7	
 9 
   <E;D	 9 9	
 
  Q 
	 
  "+#, )JS'  !	
  H  
  B B5 5 GPFO(18AMV2;4=3<  CL6?1)
C)
 D)
 &	)

 6)
 K)
 0)
 2)
 1)
	
)
(
))
. A/)
0 41)
 )
r   rV   c                       e Zd ZdZdZdZedd       Zeeed	 	 	 	 	 dd       Z	eeeed	 	 	 	 	 	 	 dd       Z	e	 	 	 	 dd	       Z	edd
       Z
edd       Zeeeef	 	 	 	 	 	 	 d fdZ xZS )rW   a  
    SizeDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    datum : str, bool, dict, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zSizeDatum.bandPosition+  r%  r   r   c                    y r   r   r   s      r   r   zSizeDatum.condition+  r  r   r   c                    y r   r   r   s       r   r   zSizeDatum.condition+  r  r   c                    y r   r   r   s     r   r   zSizeDatum.condition+  r  r   c                    y r   r   r   s     r   r5  zSizeDatum.title+  r  r   c                    y r   r   r   s     r   r   zSizeDatum.type+  r  r   c           	     0    t        |   d|||||d| y r  r|  r  s          r   r}  zSizeDatum.__init__+  r  r   )r   r  r   rW   )r   r  r   r  r   rW   )r   r  r   r  r   r  r   rW   )r   r  r   rW   )r   r  r   rW   )r   r  r   rW   r  r  r   s   @r   rW   rW   *  s(   hT (-$N9 9 2;@I	 / >	
 
   !*,5@I  *	
 > 
  <	  G G2 2
 )2MVCL.7
 &
 K	

 A
 ,
 
r   rW   c                      e Zd ZdZdZdZeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd	       Zeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeed	 	 	 	 	 dd       Zeeeed	 	 	 	 	 	 	 dd       Ze	 	 	 	 dd       Zef	 d fdZ	 xZ
S )rX   a  
    SizeValue schema wrapper.

    Parameters
    ----------
    condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`]
        A field definition or one or more value definition(s) with a parameter predicate.
    value : dict, float, :class:`ExprRef`
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  r  c                    y r   r   r  s               r   r   zSizeValue.conditionC+  r  r   r  c                    y r   r   r  s           r   r   zSizeValue.condition^+  r  r   r  c                    y r   r   r  s                r   r   zSizeValue.conditionl+  r  r   r  c                    y r   r   r  s	            r   r   zSizeValue.condition+  r  r   r   c                    y r   r   r   s      r   r   zSizeValue.condition+  r  r   r   c                    y r   r   r   s       r   r   zSizeValue.condition+  r  r   c                    y r   r   r   s     r   r   zSizeValue.condition+  r  r   c                *    t        |   d||d| y r  r|  r  s       r   r}  zSizeValue.__init__+  r  r   )r   r  r   r  r   r  r   r  r  r  rI  r  rc  r  r   r  ro  r  r5  r  r   r  r   rX   )r   r  r   r  r  r  rI  r  r   r  r5  r  r   r  r   rX   )r   r  r   r  r   r  r   r  r   r  r  r  r   r  rI  r  rc  r  ro  r  r5  r  r   r  r   rX   )r   r  r   r  r   r  r  r  r   r  rI  r  r5  r  r   r  r   rX   )r   r  r   r  r   rX   )r   r  r   r  r   r  r   rX   )r   r  r   rX   r  r  r   s   @r   rX   rX   /+  s[    (-$N GP(18A2;4=3< 1: CL6?1 D &	
 6 0 2 1	
& /'(
). A/0 412 
3 4  )2 4=3<1:CL.7 &
	 2 1 / A , 
   GP(18A )2;4=,53<  CL6?3 D &	
 6  0 2 * 1	
*
+0 A12 434 
5 6  )2  )4=,53<CL.7 &
	  2 * 1 A , 
   2;@I	 / >	
 
   !*,5@I  *	
 > 
  <	  NWC KC Cr   rX   c            D          e Zd ZdZdZdZed&d       Zeed	 	 	 d'd       Zeed	 	 	 d(d       Zed)d	       Z	ed*d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d+d       Z
eeed	 	 	 	 	 d,d       Zeeeed	 	 	 	 	 	 	 d-d       Ze	 	 	 	 d.d       Zed/d       Zeed	 	 	 d0d       Zed1d       ZeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedB	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d2d       Zed3d       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d4d       Ze	 	 	 	 d5d       Zeeeed	 	 	 	 	 	 	 d6d       Zeeed	 	 	 	 	 d7d       Ze	 	 	 	 d8d        Zeeeeeed!	 	 	 	 	 	 	 	 	 	 	 d9d"       Zed:d#       Zed;d$       Zeeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d< fd%Z xZS )=rY   a?>  
    Stroke schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    condition : dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    legend : dict, :class:`Legend`, None
        An object defining properties of the legend. If ``null``, the legend for the
        encoding channel will be removed.

        **Default value:** If undefined, default `legend properties
        <https://vega.github.io/vega-lite/docs/legend.html>`__ are applied.

        **See also:** `legend <https://vega.github.io/vega-lite/docs/legend.html>`__
        documentation.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fstrokec                    y r   r   r   s     r   r   zStroke.aggregate,  r  r   r   c                    y r   r   r   s     r   r   zStroke.aggregate,  r   r   r   c                    y r   r   r   s     r   r   zStroke.aggregate,  r   r   c                    y r   r   r   s     r   r   zStroke.bandPosition,  ry  r   c                    y r   r   r   s     r   r   z
Stroke.bin,  r%  r   r   c       
             y r   r   r   s              r   r   z
Stroke.bin,  r'  r   r   c                    y r   r   r   s      r   r   zStroke.condition,  r/  r   r   c                    y r   r   r   s       r   r   zStroke.condition,  r;  r   c                    y r   r   r   s     r   r   zStroke.condition,  r   r   c                    y r   r   r   s     r   r   zStroke.field,  r%  r   r   c                    y r   r   r   s     r   r   zStroke.field,  r-  r   c                    y r   r   r   s     r   r  zStroke.legend,  r   r   r  c       B             y r   r   rF  sC                                                                      r   r  zStroke.legend,  s    T r   c                    y r   r   r   s     r   rI  zStroke.scale<-  ry  r   rJ  c                    y r   r   r`  s                            r   rI  zStroke.scale>-  r*  r   c                    y r   r   r   s     r   rc  zStroke.sortp-  r,  r   re  c                    y r   r   ri  s       r   rc  zStroke.sort{-  r;  r   rj  c                    y r   r   rm  s      r   rc  zStroke.sort-  r/  r   c                    y r   r   r   s     r   ro  zStroke.timeUnit-  r-  r   rp  c                    y r   r   rt  s         r   ro  zStroke.timeUnit-  rA  r   c                    y r   r   r   s     r   r5  zStroke.title-  rC  r   c                    y r   r   r   s     r   r   zStroke.type-  r  r   c                >    t        |   d|||||||||	|
||d| y r{  r|  r~  s                 r   r}  zStroke.__init__-  r  r   )r   r  r   rY   )r   r  r   rY   )r   r  r   rY   )r   r  r   rY   )r   r  r   rY   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   rY   )r   r  r   r  r   rY   )r   r  r   r  r   r  r   rY   )r   r	  r   rY   )r   r  r   rY   )r   r  r   rY   )r   r  r   rY   )r  r  r  r  r  r  r  r  r  r  r	  r  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r!  r  r"  r  r#  r  r$  r  r%  r  r&  r  r'  r  r(  r  r)  r  r*  r  r+  r  r,  r  r-  r  r.  r  r/  r  r0  r  r1  r  r2  r  r3  r  r4  r  r5  r  r6  r  r7  r  r8  r  r9  r  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  r@  r  rA  r  rB  r  r   r  rC  r  rD  r  r   rY   )r   r  r   rY   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   rY   )r   r  r   rY   )r   r  rf  r  rg  r  r   rY   )rk  r  rg  r  r   rY   )r   r  r   rY   )r   r  r   r  r   r  rq  r  rr  r  r   rY   )r   r  r   rY   )r   r  r   rY   r  r  r   s   @r   rY   rY   +  s
   
Yv (-$NA A6?3	  6?3	  6 69 9 #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
   2;EN	 / C	
 
   !*,5EN  *	
 C 
  H	  9 9 IR F 
	 
 8 8 ?HENHQBKGPDM:C 3<$-IRJS NWLULUGP  #,BKHQGP ENFOGP GPJSBKBKAJ8ABKEN  KT FOGPHQEN LUCL FOCLGPNW  BKHQGP ENJSGPIRGP8A "+Qi <i C	i
 Fi @i Ei Bi 8i
i 1i "i Gi  H!i"
#i( L)i* J+i, J-i. E/i0
1i6
7i< !=i> @?i@ FAiB ECiD
EiJ CKiL DMiN EOiP
QiV EWiX HYiZ @[i\ @]i^ ?_i` 6aib @cid Ceif
gil
mir Isit
uiz D{i| E}i~ Fi@ CAiB
CiH JIiJ AKiL
MiR DSiT AUiV EWiX LYiZ
[i`
aif @gih Fiij Ekil
mir Csit Huiv Ewix Gyiz E{i| 6}i~
iP  QiR 
Si iT 6 6 AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b 		 
	 	  3<9B;D 0 7	
 9 
   <E;D	 9 9	
 
  Q 
	 
  "+#, )JS'  !	
  H  
  D D7 7 GPFO(18AMV2;4=3<  CL6?1)
C)
 D)
 &	)

 6)
 K)
 0)
 2)
 1)
	
)
(
))
. A/)
0 41)
 )
r   rY   c                       e Zd ZdZdZdZedd       Zeeed	 	 	 	 	 dd       Z	eeeed	 	 	 	 	 	 	 dd       Z	e	 	 	 	 dd	       Z	edd
       Z
edd       Zeeeef	 	 	 	 	 	 	 d fdZ xZS )r]   a  
    StrokeDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    datum : str, bool, dict, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zStrokeDatum.bandPosition<.  rZ  r   r   c                    y r   r   r   s      r   r   zStrokeDatum.condition>.  r`  r   r   c                    y r   r   r   s       r   r   zStrokeDatum.conditionE.  rb  r   c                    y r   r   r   s     r   r   zStrokeDatum.conditionM.  rW  r   c                    y r   r   r   s     r   r5  zStrokeDatum.titleQ.  ro  r   c                    y r   r   r   s     r   r   zStrokeDatum.typeS.  r  r   c           	     0    t        |   d|||||d| y r  r|  r  s          r   r}  zStrokeDatum.__init__V.  r  r   )r   r  r   r]   )r   r  r   r  r   r]   )r   r  r   r  r   r  r   r]   )r   r	  r   r]   )r   r  r   r]   )r   r  r   r]   r  r  r   s   @r   r]   r]   -  s*   hT (-$N; ; 2;EN	 / C	
 
   !*,5EN  *	
 C 
  H	  I I4 4
 )2MVCL.7
 &
 K	

 A
 ,
 
r   r]   c                      e Zd ZdZdZdZeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd	       Zeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeed	 	 	 	 	 dd       Zeeeed	 	 	 	 	 	 	 dd       Ze	 	 	 	 dd       Zef	 d fdZ	 xZ
S )ra   a%  
    StrokeValue schema wrapper.

    Parameters
    ----------
    condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefGradientstringnullExprRef`, :class:`ConditionalParameterValueDefGradientstringnullExprRef`, :class:`ConditionalPredicateValueDefGradientstringnullExprRef`]
        A field definition or one or more value definition(s) with a parameter predicate.
    value : str, dict, :class:`ExprRef`, :class:`Gradient`, :class:`LinearGradient`, :class:`RadialGradient`, None
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  r  c                    y r   r   r  s               r   r   zStrokeValue.condition~.  s    4 r   r  c                    y r   r   r  s           r   r   zStrokeValue.condition.  s     r   r  c                    y r   r   r  s                r   r   zStrokeValue.condition.  s    6 r   r  c                    y r   r   r  s	            r   r   zStrokeValue.condition.  r^  r   r   c                    y r   r   r   s      r   r   zStrokeValue.condition.  r`  r   r   c                    y r   r   r   s       r   r   zStrokeValue.condition.  rb  r   c                    y r   r   r   s     r   r   zStrokeValue.condition.  rW  r   c                *    t        |   d||d| y r  r|  r  s       r   r}  zStrokeValue.__init__.  r  r   )r   r  r   r  r   r  r   r  r  r  rI  r  rc  r  r   r  ro  r  r5  r  r   r  r   ra   )r   r  r   r  r  r  rI  r  r   r  r5  r  r   r  r   ra   )r   r  r   r  r   r  r   r  r   r  r  r  r   r  rI  r  rc  r  ro  r  r5  r  r   r  r   ra   )r   r  r   r  r   r  r  r  r   r  rI  r  r5  r  r   r  r   ra   )r   r  r   r  r   ra   )r   r  r   r  r   r  r   ra   )r   r	  r   ra   r  r  r   s   @r   ra   ra   i.  s]   
 (-$N GP(18A2;4=3< 1: CL6?1 D &	
 6 0 2 1	
& /'(
). A/0 412 
3 4  )2 4=3<1:CL.7 &
	 2 1 / A , 
   GP(18A )2;4=,53<  CL6?3 D &	
 6  0 2 * 1	
*
+0 A12 434 
5 6  )2  )4=,53<CL.7 &
	  2 * 1 A , 
   2;EN	 / C	
 
   !*,5EN  *	
 C 
  H	  NWC KC Cr   ra   c            D          e Zd ZdZdZdZed&d       Zeed	 	 	 d'd       Zeed	 	 	 d(d       Zed)d	       Z	ed*d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d+d       Z
eeed	 	 	 	 	 d,d       Zeeeed	 	 	 	 	 	 	 d-d       Ze	 	 	 	 d.d       Zed/d       Zeed	 	 	 d0d       Zed1d       ZeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedB	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d2d       Zed3d       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d4d       Ze	 	 	 	 d5d       Zeeeed	 	 	 	 	 	 	 d6d       Zeeed	 	 	 	 	 d7d       Ze	 	 	 	 d8d        Zeeeeeed!	 	 	 	 	 	 	 	 	 	 	 d9d"       Zed:d#       Zed;d$       Zeeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d< fd%Z xZS )=rZ   a>  
    StrokeDash schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    condition : dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    legend : dict, :class:`Legend`, None
        An object defining properties of the legend. If ``null``, the legend for the
        encoding channel will be removed.

        **Default value:** If undefined, default `legend properties
        <https://vega.github.io/vega-lite/docs/legend.html>`__ are applied.

        **See also:** `legend <https://vega.github.io/vega-lite/docs/legend.html>`__
        documentation.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    F
strokeDashc                    y r   r   r   s     r   r   zStrokeDash.aggregate/  r  r   r   c                    y r   r   r   s     r   r   zStrokeDash.aggregate/  r  r   r   c                    y r   r   r   s     r   r   zStrokeDash.aggregate/  r  r   c                    y r   r   r   s     r   r   zStrokeDash.bandPosition/  r  r   c                    y r   r   r   s     r   r   zStrokeDash.bin/  r  r   r   c       
             y r   r   r   s              r   r   zStrokeDash.bin/  r  r   r   c                    y r   r   r   s      r   r   zStrokeDash.condition/  r  r   r   c                    y r   r   r   s       r   r   zStrokeDash.condition/  r  r   c                    y r   r   r   s     r   r   zStrokeDash.condition/  r  r   c                    y r   r   r   s     r   r   zStrokeDash.field0  r  r   r   c                    y r   r   r   s     r   r   zStrokeDash.field0  r  r   c                    y r   r   r   s     r   r  zStrokeDash.legend	0  rq  r   r  c       B             y r   r   rF  sC                                                                      r   r  zStrokeDash.legend0  s    T r   c                    y r   r   r   s     r   rI  zStrokeDash.scalev0  r  r   rJ  c                    y r   r   r`  s                            r   rI  zStrokeDash.scalex0      b r   c                    y r   r   r   s     r   rc  zStrokeDash.sort0  s     r   re  c                    y r   r   ri  s       r   rc  zStrokeDash.sort0  r  r   rj  c                    y r   r   rm  s      r   rc  zStrokeDash.sort0  r  r   c                    y r   r   r   s     r   ro  zStrokeDash.timeUnit0  r  r   rp  c                    y r   r   rt  s         r   ro  zStrokeDash.timeUnit0  r  r   c                    y r   r   r   s     r   r5  zStrokeDash.title0  r  r   c                    y r   r   r   s     r   r   zStrokeDash.type0  rZ  r   c                >    t        |   d|||||||||	|
||d| y r{  r|  r~  s                 r   r}  zStrokeDash.__init__0  r  r   )r   r  r   rZ   )r   r  r   rZ   )r   r  r   rZ   )r   r  r   rZ   )r   r  r   rZ   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   rZ   )r   r  r   r  r   rZ   )r   r  r   r  r   r  r   rZ   )r   0list[core.ConditionalValueDefnumberArrayExprRef]r   rZ   )r   r  r   rZ   )r   r  r   rZ   )r   r  r   rZ   )r  r  r  r  r  r  r  r  r  r  r	  r  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r!  r  r"  r  r#  r  r$  r  r%  r  r&  r  r'  r  r(  r  r)  r  r*  r  r+  r  r,  r  r-  r  r.  r  r/  r  r0  r  r1  r  r2  r  r3  r  r4  r  r5  r  r6  r  r7  r  r8  r  r9  r  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  r@  r  rA  r  rB  r  r   r  rC  r  rD  r  r   rZ   )r   r  r   rZ   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   rZ   )r   r  r   rZ   )r   r  rf  r  rg  r  r   rZ   )rk  r  rg  r  r   rZ   )r   r  r   rZ   )r   r  r   r  r   r  rq  r  rr  r  r   rZ   )r   r  r   rZ   )r   r  r   rZ   r  r  r   s   @r   rZ   rZ   .  s
   Yv (-$!NE E6?3	  6?3	  : := = #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
   2;JS	 / H	
 
   !*,5JS  *	
 H 
  A	  = = IR F 
	 
 < < ?HENHQBKGPDM:C 3<$-IRJS NWLULUGP  #,BKHQGP ENFOGP GPJSBKBKAJ8ABKEN  KT FOGPHQEN LUCL FOCLGPNW  BKHQGP ENJSGPIRGP8A "+Qi <i C	i
 Fi @i Ei Bi 8i
i 1i "i Gi  H!i"
#i( L)i* J+i, J-i. E/i0
1i6
7i< !=i> @?i@ FAiB ECiD
EiJ CKiL DMiN EOiP
QiV EWiX HYiZ @[i\ @]i^ ?_i` 6aib @cid Ceif
gil
mir Isit
uiz D{i| E}i~ Fi@ CAiB
CiH JIiJ AKiL
MiR DSiT AUiV EWiX LYiZ
[i`
aif @gih Fiij Ekil
mir Csit Huiv Ewix Gyiz E{i| 6}i~
iP  QiR 
Si iT : : AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b 		 
	 	  3<9B;D 0 7	
 9 
   <E;D	 9 9	
 
  Q 
	 
  "+#, )JS'  !	
  H  
  H H; ; GPFO(18AMV2;4=3<  CL6?1)
C)
 D)
 &	)

 6)
 K)
 0)
 2)
 1)
	
)
(
))
. A/)
0 41)
 )
r   rZ   c                       e Zd ZdZdZdZedd       Zeeed	 	 	 	 	 dd       Z	eeeed	 	 	 	 	 	 	 dd       Z	e	 	 	 	 dd	       Z	edd
       Z
edd       Zeeeef	 	 	 	 	 	 	 d fdZ xZS )r[   a  
    StrokeDashDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    datum : str, bool, dict, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zStrokeDashDatum.bandPositionv1  r  r   r   c                    y r   r   r   s      r   r   zStrokeDashDatum.conditionx1       r   r   c                    y r   r   r   s       r   r   zStrokeDashDatum.condition1       r   c                    y r   r   r   s     r   r   zStrokeDashDatum.condition1       r   c                    y r   r   r   s     r   r5  zStrokeDashDatum.title1  r  r   c                    y r   r   r   s     r   r   zStrokeDashDatum.type1  r   r   c           	     0    t        |   d|||||d| y r  r|  r  s          r   r}  zStrokeDashDatum.__init__1  r  r   )r   r  r   r[   )r   r  r   r  r   r[   )r   r  r   r  r   r  r   r[   )r   r  r   r[   )r   r  r   r[   )r   r  r   r[   r  r  r   s   @r   r[   r[   1  s*   hT (-$!N? ? 2;JS	 / H	
 
   !*,5JS  *	
 H 
  A	  M M8 8
 )2MVCL.7
 &
 K	

 A
 ,
 
r   r[   c                      e Zd ZdZdZdZeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd	       Zeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeed	 	 	 	 	 dd       Zeeeed	 	 	 	 	 	 	 dd       Ze	 	 	 	 dd       Zef	 d fdZ	 xZ
S )r\   a  
    StrokeDashValue schema wrapper.

    Parameters
    ----------
    condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberArrayExprRef`, :class:`ConditionalParameterValueDefnumberArrayExprRef`, :class:`ConditionalPredicateValueDefnumberArrayExprRef`]
        A field definition or one or more value definition(s) with a parameter predicate.
    value : dict, Sequence[float], :class:`ExprRef`
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  r  c                    y r   r   r  s               r   r   zStrokeDashValue.condition1  s    4 r   r  c                    y r   r   r  s           r   r   zStrokeDashValue.condition1  s     r   r  c                    y r   r   r  s                r   r   zStrokeDashValue.condition1  s    6 r   r  c                    y r   r   r  s	            r   r   zStrokeDashValue.condition1  s     r   r   c                    y r   r   r   s      r   r   zStrokeDashValue.condition2  r  r   r   c                    y r   r   r   s       r   r   zStrokeDashValue.condition2  r  r   c                    y r   r   r   s     r   r   zStrokeDashValue.condition2  r  r   c                *    t        |   d||d| y r  r|  r  s       r   r}  zStrokeDashValue.__init__2  r  r   )r   r  r   r  r   r  r   r  r  r  rI  r  rc  r  r   r  ro  r  r5  r  r   r  r   r\   )r   r  r   r  r  r  rI  r  r   r  r5  r  r   r  r   r\   )r   r  r   r  r   r  r   r  r   r  r  r  r   r  rI  r  rc  r  ro  r  r5  r  r   r  r   r\   )r   r  r   r  r   r  r  r  r   r  rI  r  r5  r  r   r  r   r\   )r   r  r   r  r   r\   )r   r  r   r  r   r  r   r\   )r   r  r   r\   r  r  r   s   @r   r\   r\   1  s]    (-$!N GP(18A2;4=3< 1: CL6?1 D &	
 6 0 2 1	
& /'(
). A/0 412 
3 4  )2 4=3<1:CL.7 &
	 2 1 / A , 
   GP(18A )2;4=,53<  CL6?3 D &	
 6  0 2 * 1	
*
+0 A12 434 
5 6  )2  )4=,53<CL.7 &
	  2 * 1 A , 
   2;JS	 / H	
 
   !*,5JS  *	
 H 
  A	  NWC KC Cr   r\   c            D          e Zd ZdZdZdZed&d       Zeed	 	 	 d'd       Zeed	 	 	 d(d       Zed)d	       Z	ed*d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d+d       Z
eeed	 	 	 	 	 d,d       Zeeeed	 	 	 	 	 	 	 d-d       Ze	 	 	 	 d.d       Zed/d       Zeed	 	 	 d0d       Zed1d       ZeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedB	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d2d       Zed3d       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d4d       Ze	 	 	 	 d5d       Zeeeed	 	 	 	 	 	 	 d6d       Zeeed	 	 	 	 	 d7d       Ze	 	 	 	 d8d        Zeeeeeed!	 	 	 	 	 	 	 	 	 	 	 d9d"       Zed:d#       Zed;d$       Zeeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d< fd%Z xZS )=r^   a=  
    StrokeOpacity schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    legend : dict, :class:`Legend`, None
        An object defining properties of the legend. If ``null``, the legend for the
        encoding channel will be removed.

        **Default value:** If undefined, default `legend properties
        <https://vega.github.io/vega-lite/docs/legend.html>`__ are applied.

        **See also:** `legend <https://vega.github.io/vega-lite/docs/legend.html>`__
        documentation.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    FstrokeOpacityc                    y r   r   r   s     r   r   zStrokeOpacity.aggregate
3  r  r   r   c                    y r   r   r   s     r   r   zStrokeOpacity.aggregate3       r   r   c                    y r   r   r   s     r   r   zStrokeOpacity.aggregate3  r.  r   c                    y r   r   r   s     r   r   zStrokeOpacity.bandPosition3  r  r   c                    y r   r   r   s     r   r   zStrokeOpacity.bin3  r   r   r   c       
             y r   r   r   s              r   r   zStrokeOpacity.bin3  s     r   r   c                    y r   r   r   s      r   r   zStrokeOpacity.condition'3       r   r   c                    y r   r   r   s       r   r   zStrokeOpacity.condition.3       r   c                    y r   r   r   s     r   r   zStrokeOpacity.condition63  r.  r   c                    y r   r   r   s     r   r   zStrokeOpacity.field:3  r   r   r   c                    y r   r   r   s     r   r   zStrokeOpacity.field<3      
 r   c                    y r   r   r   s     r   r  zStrokeOpacity.legendB3  r  r   r  c       B             y r   r   rF  sC                                                                      r   r  zStrokeOpacity.legendD3  s    T r   c                    y r   r   r   s     r   rI  zStrokeOpacity.scale3  r  r   rJ  c                    y r   r   r`  s                            r   rI  zStrokeOpacity.scale3  s    b r   c                    y r   r   r   s     r   rc  zStrokeOpacity.sort3  s     r   re  c                    y r   r   ri  s       r   rc  zStrokeOpacity.sort3  r6  r   rj  c                    y r   r   rm  s      r   rc  zStrokeOpacity.sort3  r4  r   c                    y r   r   r   s     r   ro  zStrokeOpacity.timeUnit3  r:  r   rp  c                    y r   r   rt  s         r   ro  zStrokeOpacity.timeUnit4  s     r   c                    y r   r   r   s     r   r5  zStrokeOpacity.title4  r9  r   c                    y r   r   r   s     r   r   zStrokeOpacity.type4  re  r   c                >    t        |   d|||||||||	|
||d| y r{  r|  r~  s                 r   r}  zStrokeOpacity.__init__4  r  r   )r   r  r   r^   )r   r  r   r^   )r   r  r   r^   )r   r  r   r^   )r   r  r   r^   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r^   )r   r  r   r  r   r^   )r   r  r   r  r   r  r   r^   )r   r  r   r^   )r   r  r   r^   )r   r  r   r^   )r   r  r   r^   )r  r  r  r  r  r  r  r  r  r  r	  r  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r!  r  r"  r  r#  r  r$  r  r%  r  r&  r  r'  r  r(  r  r)  r  r*  r  r+  r  r,  r  r-  r  r.  r  r/  r  r0  r  r1  r  r2  r  r3  r  r4  r  r5  r  r6  r  r7  r  r8  r  r9  r  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  r@  r  rA  r  rB  r  r   r  rC  r  rD  r  r   r^   )r   r  r   r^   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   r^   )r   r  r   r^   )r   r  rf  r  rg  r  r   r^   )rk  r  rg  r  r   r^   )r   r  r   r^   )r   r  r   r  r   r  rq  r  rr  r  r   r^   )r   r  r   r^   )r   r  r   r^   r  r  r   s   @r   r^   r^   (2  s
   Yv (-$$NH H6?3	  6?3	  = =@ @ #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
   2;@I	 / >	
 
   !*,5@I  *	
 > 
  <	  @ @ IR F 
	 
 ? ? ?HENHQBKGPDM:C 3<$-IRJS NWLULUGP  #,BKHQGP ENFOGP GPJSBKBKAJ8ABKEN  KT FOGPHQEN LUCL FOCLGPNW  BKHQGP ENJSGPIRGP8A "+Qi <i C	i
 Fi @i Ei Bi 8i
i 1i "i Gi  H!i"
#i( L)i* J+i, J-i. E/i0
1i6
7i< !=i> @?i@ FAiB ECiD
EiJ CKiL DMiN EOiP
QiV EWiX HYiZ @[i\ @]i^ ?_i` 6aib @cid Ceif
gil
mir Isit
uiz D{i| E}i~ Fi@ CAiB
CiH JIiJ AKiL
MiR DSiT AUiV EWiX LYiZ
[i`
aif @gih Fiij Ekil
mir Csit Huiv Ewix Gyiz E{i| 6}i~
iP  QiR 
Si iT = = AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b 		 
	 	  3<9B;D 0 7	
 9 
   <E;D	 9 9	
 
  Q 
	 
  "+#, )JS'  !	
  H  
  K K> > GPFO(18AMV2;4=3<  CL6?1)
C)
 D)
 &	)

 6)
 K)
 0)
 2)
 1)
	
)
(
))
. A/)
0 41)
 )
r   r^   c                       e Zd ZdZdZdZedd       Zeeed	 	 	 	 	 dd       Z	eeeed	 	 	 	 	 	 	 dd       Z	e	 	 	 	 dd	       Z	edd
       Z
edd       Zeeeef	 	 	 	 	 	 	 d fdZ xZS )r_   a  
    StrokeOpacityDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    datum : str, bool, dict, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr+  c                    y r   r   r   s     r   r   zStrokeOpacityDatum.bandPosition4  r  r   r   c                    y r   r   r   s      r   r   zStrokeOpacityDatum.condition4       !r   r   c                    y r   r   r   s       r   r   zStrokeOpacityDatum.condition4       !r   c                    y r   r   r   s     r   r   zStrokeOpacityDatum.condition4       !r   c                    y r   r   r   s     r   r5  zStrokeOpacityDatum.title4  s    MPr   c                    y r   r   r   s     r   r   zStrokeOpacityDatum.type4  rZ  r   c           	     0    t        |   d|||||d| y r  r|  r  s          r   r}  zStrokeOpacityDatum.__init__4  r  r   )r   r  r   r_   )r   r  r   r  r   r_   )r   r  r   r  r   r  r   r_   )r   r  r   r_   )r   r  r   r_   )r   r  r   r_   r  r  r   s   @r   r_   r_   >4  s(   hT (-$$NB B 2;@I	! /! >	!
 
! !  !*,5@I! ! *	!
 >! 
! ! !<!	! ! P P; ;
 )2MVCL.7
 &
 K	

 A
 ,
 
r   r_   c                      e Zd ZdZdZdZeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd	       Zeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeed	 	 	 	 	 dd       Zeeeed	 	 	 	 	 	 	 dd       Ze	 	 	 	 dd       Zef	 d fdZ	 xZ
S )r`   a  
    StrokeOpacityValue schema wrapper.

    Parameters
    ----------
    condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`]
        A field definition or one or more value definition(s) with a parameter predicate.
    value : dict, float, :class:`ExprRef`
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr+  r  c                    y r   r   r  s               r   r   zStrokeOpacityValue.condition4  s    4 !r   r  c                    y r   r   r  s           r   r   zStrokeOpacityValue.condition5  s     !r   r  c                    y r   r   r  s                r   r   zStrokeOpacityValue.condition5  s    6 !r   r  c                    y r   r   r  s	            r   r   zStrokeOpacityValue.condition55  s     !r   r   c                    y r   r   r   s      r   r   zStrokeOpacityValue.conditionD5  rJ  r   r   c                    y r   r   r   s       r   r   zStrokeOpacityValue.conditionK5  rL  r   c                    y r   r   r   s     r   r   zStrokeOpacityValue.conditionS5  rN  r   c                *    t        |   d||d| y r  r|  r  s       r   r}  zStrokeOpacityValue.__init__X5  r  r   )r   r  r   r  r   r  r   r  r  r  rI  r  rc  r  r   r  ro  r  r5  r  r   r  r   r`   )r   r  r   r  r  r  rI  r  r   r  r5  r  r   r  r   r`   )r   r  r   r  r   r  r   r  r   r  r  r  r   r  rI  r  rc  r  ro  r  r5  r  r   r  r   r`   )r   r  r   r  r   r  r  r  r   r  rI  r  r5  r  r   r  r   r`   )r   r  r   r  r   r`   )r   r  r   r  r   r  r   r`   )r   r  r   r`   r  r  r   s   @r   r`   r`   4  s[    (-$$N GP(18A2;4=3< 1: CL6?1! D! &	!
 6! 0! 2! 1!	
!& /'!(
)!. A/!0 41!2 
3! !4  )2 4=3<1:CL.7! &!
	! 2! 1! /! A! ,! 
! !  GP(18A )2;4=,53<  CL6?3! D! &	!
 6! ! 0! 2! *! 1!	
!*
+!0 A1!2 43!4 
5! !6  )2  )4=,53<CL.7! &!
	! ! 2! *! 1! A! ,! 
! !  2;@I	! /! >	!
 
! !  !*,5@I! ! *	!
 >! 
! ! !<!	! ! NWC KC Cr   r`   c            D          e Zd ZdZdZdZed&d       Zeed	 	 	 d'd       Zeed	 	 	 d(d       Zed)d	       Z	ed*d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d+d       Z
eeed	 	 	 	 	 d,d       Zeeeed	 	 	 	 	 	 	 d-d       Ze	 	 	 	 d.d       Zed/d       Zeed	 	 	 d0d       Zed1d       ZeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedB	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d2d       Zed3d       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d4d       Ze	 	 	 	 d5d       Zeeeed	 	 	 	 	 	 	 d6d       Zeeed	 	 	 	 	 d7d       Ze	 	 	 	 d8d        Zeeeeeed!	 	 	 	 	 	 	 	 	 	 	 d9d"       Zed:d#       Zed;d$       Zeeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d< fd%Z xZS )=rb   a=  
    StrokeWidth schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    legend : dict, :class:`Legend`, None
        An object defining properties of the legend. If ``null``, the legend for the
        encoding channel will be removed.

        **Default value:** If undefined, default `legend properties
        <https://vega.github.io/vega-lite/docs/legend.html>`__ are applied.

        **See also:** `legend <https://vega.github.io/vega-lite/docs/legend.html>`__
        documentation.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    FstrokeWidthc                    y r   r   r   s     r   r   zStrokeWidth.aggregateC6  rU  r   r   c                    y r   r   r   s     r   r   zStrokeWidth.aggregateE6  rW  r   r   c                    y r   r   r   s     r   r   zStrokeWidth.aggregateI6  rW  r   c                    y r   r   r   s     r   r   zStrokeWidth.bandPositionM6  rZ  r   c                    y r   r   r   s     r   r   zStrokeWidth.binO6  re  r   r   c       
             y r   r   r   s              r   r   zStrokeWidth.binQ6  r^  r   r   c                    y r   r   r   s      r   r   zStrokeWidth.condition`6  r`  r   r   c                    y r   r   r   s       r   r   zStrokeWidth.conditiong6  rb  r   c                    y r   r   r   s     r   r   zStrokeWidth.conditiono6  rW  r   c                    y r   r   r   s     r   r   zStrokeWidth.fields6  re  r   r   c                    y r   r   r   s     r   r   zStrokeWidth.fieldu6  rg  r   c                    y r   r   r   s     r   r  zStrokeWidth.legend{6  r  r   r  c       B             y r   r   rF  sC                                                                      r   r  zStrokeWidth.legend}6  r  r   c                    y r   r   r   s     r   rI  zStrokeWidth.scale6  rZ  r   rJ  c                    y r   r   r`  s                            r   rI  zStrokeWidth.scale6  r  r   c                    y r   r   r   s     r   rc  zStrokeWidth.sort7  r  r   re  c                    y r   r   ri  s       r   rc  zStrokeWidth.sort'7  rb  r   rj  c                    y r   r   rm  s      r   rc  zStrokeWidth.sort/7  r`  r   c                    y r   r   r   s     r   ro  zStrokeWidth.timeUnit67  rg  r   rp  c                    y r   r   rt  s         r   ro  zStrokeWidth.timeUnit<7  rm  r   c                    y r   r   r   s     r   r5  zStrokeWidth.titleF7  ro  r   c                    y r   r   r   s     r   r   zStrokeWidth.typeH7  rq  r   c                >    t        |   d|||||||||	|
||d| y r{  r|  r~  s                 r   r}  zStrokeWidth.__init__K7  r  r   )r   r  r   rb   )r   r  r   rb   )r   r  r   rb   )r   r  r   rb   )r   r  r   rb   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   rb   )r   r  r   r  r   rb   )r   r  r   r  r   r  r   rb   )r   r  r   rb   )r   r  r   rb   )r   r  r   rb   )r   r  r   rb   )r  r  r  r  r  r  r  r  r  r  r	  r  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r!  r  r"  r  r#  r  r$  r  r%  r  r&  r  r'  r  r(  r  r)  r  r*  r  r+  r  r,  r  r-  r  r.  r  r/  r  r0  r  r1  r  r2  r  r3  r  r4  r  r5  r  r6  r  r7  r  r8  r  r9  r  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  r@  r  rA  r  rB  r  r   r  rC  r  rD  r  r   rb   )r   r  r   rb   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   rb   )r   r  r   rb   )r   r  rf  r  rg  r  r   rb   )rk  r  rg  r  r   rb   )r   r  r   rb   )r   r  r   r  r   r  rq  r  rr  r  r   rb   )r   r  r   rb   )r   r  r   rb   r  r  r   s   @r   rb   rb   a5  r  r   rb   c                       e Zd ZdZdZdZedd       Zeeed	 	 	 	 	 dd       Z	eeeed	 	 	 	 	 	 	 dd       Z	e	 	 	 	 dd	       Z	edd
       Z
edd       Zeeeef	 	 	 	 	 	 	 d fdZ xZS )rc   a  
    StrokeWidthDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    datum : str, bool, dict, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr\  c                    y r   r   r   s     r   r   zStrokeWidthDatum.bandPosition7  r   r   r   c                    y r   r   r   s      r   r   zStrokeWidthDatum.condition7  r  r   r   c                    y r   r   r   s       r   r   zStrokeWidthDatum.condition7  r  r   c                    y r   r   r   s     r   r   zStrokeWidthDatum.condition7  r  r   c                    y r   r   r   s     r   r5  zStrokeWidthDatum.title7  r$  r   c                    y r   r   r   s     r   r   zStrokeWidthDatum.type7  r%  r   c           	     0    t        |   d|||||d| y r  r|  r  s          r   r}  zStrokeWidthDatum.__init__8  r  r   )r   r  r   rc   )r   r  r   r  r   rc   )r   r  r   r  r   r  r   rc   )r   r  r   rc   )r   r  r   rc   )r   r  r   rc   r  r  r   s   @r   rc   rc   w7  r'  r   rc   c                      e Zd ZdZdZdZeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd	       Zeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeed	 	 	 	 	 dd       Zeeeed	 	 	 	 	 	 	 dd       Ze	 	 	 	 dd       Zef	 d fdZ	 xZ
S )rd   a  
    StrokeWidthValue schema wrapper.

    Parameters
    ----------
    condition : dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, Sequence[dict, :class:`ConditionalValueDefnumberExprRef`, :class:`ConditionalParameterValueDefnumberExprRef`, :class:`ConditionalPredicateValueDefnumberExprRef`]
        A field definition or one or more value definition(s) with a parameter predicate.
    value : dict, float, :class:`ExprRef`
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr\  r  c                    y r   r   r  s               r   r   zStrokeWidthValue.condition)8  r~  r   r  c                    y r   r   r  s           r   r   zStrokeWidthValue.conditionD8  r  r   r  c                    y r   r   r  s                r   r   zStrokeWidthValue.conditionR8  r  r   r  c                    y r   r   r  s	            r   r   zStrokeWidthValue.conditionn8  r  r   r   c                    y r   r   r   s      r   r   zStrokeWidthValue.condition}8  r  r   r   c                    y r   r   r   s       r   r   zStrokeWidthValue.condition8  r  r   c                    y r   r   r   s     r   r   zStrokeWidthValue.condition8  r  r   c                *    t        |   d||d| y r  r|  r  s       r   r}  zStrokeWidthValue.__init__8  r  r   )r   r  r   r  r   r  r   r  r  r  rI  r  rc  r  r   r  ro  r  r5  r  r   r  r   rd   )r   r  r   r  r  r  rI  r  r   r  r5  r  r   r  r   rd   )r   r  r   r  r   r  r   r  r   r  r  r  r   r  rI  r  rc  r  ro  r  r5  r  r   r  r   rd   )r   r  r   r  r   r  r  r  r   r  rI  r  r5  r  r   r  r   rd   )r   r  r   r  r   rd   )r   r  r   r  r   r  r   rd   )r   r  r   rd   r  r  r   s   @r   rd   rd   8  r1  r   rd   c                  b    e Zd ZdZdZdZedd       Zeeddd       Zeedd d       Zed!d	       Z	ed"d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d#d       Z
eeed	 	 	 	 	 d$d       Zeeeed	 	 	 	 	 	 	 d%d       Zed&d       Zed'd       Zeed	 	 	 d(d       Zed)d       Zed*d       Zed)d       Ze	 	 	 	 d+d       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 d,d       Zed-d       Zed.d       Zeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d/ fdZ xZS )0re   a5  
    Text schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, Literal['binned'], :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    condition : dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    format : str, dict, :class:`Dict`
        When used with the default ``"number"`` and ``"time"`` format type, the text
        formatting pattern for labels of guides (axes, legends, headers) and text marks.

        * If the format type is ``"number"`` (e.g., for quantitative fields), this is D3's
          `number format pattern <https://github.com/d3/d3-format#locale_format>`__.
        * If the format type is ``"time"`` (e.g., for temporal fields), this is D3's `time
          format pattern <https://github.com/d3/d3-time-format#locale_format>`__.

        See the `format documentation <https://vega.github.io/vega-lite/docs/format.html>`__
        for more examples.

        When used with a `custom formatType
        <https://vega.github.io/vega-lite/docs/config.html#custom-format-type>`__, this
        value will be passed as ``format`` alongside ``datum.value`` to the registered
        function.

        **Default value:**  Derived from `numberFormat
        <https://vega.github.io/vega-lite/docs/config.html#format>`__ config for number
        format and from `timeFormat
        <https://vega.github.io/vega-lite/docs/config.html#format>`__ config for time
        format.
    formatType : str
        The format type for labels. One of ``"number"``, ``"time"``, or a `registered custom
        format type
        <https://vega.github.io/vega-lite/docs/config.html#custom-format-type>`__.

        **Default value:**

        * ``"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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Ftextc                    y r   r   r   s     r   r   zText.aggregate^9  r  r   r   c                    y r   r   r   s     r   r   zText.aggregate`9  r  r   r   c                    y r   r   r   s     r   r   zText.aggregateb9  r  r   c                    y r   r   r   s     r   r   zText.bandPositiond9  r  r   c                    y r   r   r   s     r   r   zText.binf9  r9  r   r   c       
             y r   r   r   s              r   r   zText.binh9  r  r   r   c                    y r   r   r   s      r   r   zText.conditionw9  r  r   r   c                    y r   r   r   s       r   r   zText.condition~9  r  r   c                    y r   r   r   s     r   r   zText.condition9      RUr   c                    y r   r   r   s     r   r   z
Text.field9  r  r   r   c                    y r   r   r   s     r   r   z
Text.field9  r  r   c                    y r   r   r   s     r   r  zText.format9  rA  r   c                    y r   r   r   s     r   r  zText.format9  rA  r   c                    y r   r   r   s     r   r  zText.formatType9  r  r   c                    y r   r   r   s     r   ro  zText.timeUnit9  r  r   rp  c                    y r   r   rt  s         r   ro  zText.timeUnit9  r  r   c                    y r   r   r   s     r   r5  z
Text.title9  r  r   c                    y r   r   r   s     r   r   z	Text.type9  r   r   c                <    t        |   d|||||||||	|
|d| y rs  r|  rt  s                r   r}  zText.__init__9  ru  r   )r   r  r   re   )r   r  r   re   )r   r  r   re   )r   r  r   re   )r   rv  r   re   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   re   )r   r  r   <Optional[str | Parameter | SchemaBase | Sequence[str] | Map]r   re   )r   r  r   r  r   r  r   re   )r   )list[core.ConditionalValueDefTextExprRef]r   re   )r   r  r   re   )r   r  r   re   )r   r   r   re   )r   rx  r   re   )r   r  r   re   )r   r  r   r  r   r  rq  r  rr  r  r   re   )r   r  r   re   )r   r  r   re   ry  r{  r   s   @r   re   re   8  sD   }~ (-$N? ?@IW W@IW W4 4K K #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
   2;NW	 / L	
 
   !*,5NW  *	
 L 
  U U7 7 IR F 
	 
 , ,, ,0 0Q 
	 
  "+#, )JS'  !	
  H  
  B B5 5 GPFO(1LUMV2;3<$- CL6?
C
 D
 &	

 J
 K
 0
 1
 "


 A
 4
 
r   re   c                  $    e Zd ZdZdZdZedd       Zeeed	 	 	 	 	 dd       Z	eeeed	 	 	 	 	 	 	 dd       Z	e	 	 	 	 dd	       Z	edd
       Z
edd       Z
edd       Zedd       Zedd       Zeeeeeef	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS )rf   a  
    TextDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    datum : str, bool, dict, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    format : str, dict, :class:`Dict`
        When used with the default ``"number"`` and ``"time"`` format type, the text
        formatting pattern for labels of guides (axes, legends, headers) and text marks.

        * If the format type is ``"number"`` (e.g., for quantitative fields), this is D3's
          `number format pattern <https://github.com/d3/d3-format#locale_format>`__.
        * If the format type is ``"time"`` (e.g., for temporal fields), this is D3's `time
          format pattern <https://github.com/d3/d3-time-format#locale_format>`__.

        See the `format documentation <https://vega.github.io/vega-lite/docs/format.html>`__
        for more examples.

        When used with a `custom formatType
        <https://vega.github.io/vega-lite/docs/config.html#custom-format-type>`__, this
        value will be passed as ``format`` alongside ``datum.value`` to the registered
        function.

        **Default value:**  Derived from `numberFormat
        <https://vega.github.io/vega-lite/docs/config.html#format>`__ config for number
        format and from `timeFormat
        <https://vega.github.io/vega-lite/docs/config.html#format>`__ config for time
        format.
    formatType : str
        The format type for labels. One of ``"number"``, ``"time"``, or a `registered custom
        format type
        <https://vega.github.io/vega-lite/docs/config.html#custom-format-type>`__.

        **Default value:**

        * ``"time"`` for temporal fields and ordinal and nominal fields with ``timeUnit``.
        * ``"number"`` for quantitative fields as well as ordinal and nominal fields without
          ``timeUnit``.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zTextDatum.bandPosition[:  r%  r   r   c                    y r   r   r   s      r   r   zTextDatum.condition]:  r  r   r   c                    y r   r   r   s       r   r   zTextDatum.conditiond:  r  r   c                    y r   r   r   s     r   r   zTextDatum.conditionl:  r  r   c                    y r   r   r   s     r   r  zTextDatum.formatp:  r>  r   c                    y r   r   r   s     r   r  zTextDatum.formatr:  r>  r   c                    y r   r   r   s     r   r  zTextDatum.formatTypet:  r   r   c                    y r   r   r   s     r   r5  zTextDatum.titlev:  r  r   c                    y r   r   r   s     r   r   zTextDatum.typex:  r  r   c                4    t        	|   d|||||||d| y )N)r   r   r   r  r  r5  r   r   r|  )
r   r   r   r   r  r  r5  r   r   r   s
            r   r}  zTextDatum.__init__{:  s6     	 		
%!		
 		
r   )r   r  r   rf   )r   r  r   r  r   rf   )r   r  r   r  r   r  r   rf   )r   r  r   rf   )r   r   r   rf   )r   rx  r   rf   )r   r  r   rf   )r   r  r   rf   )r   r  r   r  r  r  r  r  r5  r  r   r  )r   r   r   r  r  r   r	   r   r   r   r  r  r5  r   r}  r   r   s   @r   rf   rf   9  sn   HT (-$N9 9 2;NW	 / L	
 
   !*,5NW  *	
 L 
  :	  1 11 15 5G G2 2
 )2MV3<$-CL.7
 &
 K	

 1
 "
 A
 ,
 
r   rf   c                  H    e Zd ZdZdZdZeeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeed	 	 	 	 	 dd	       Zeeeed
	 	 	 	 	 	 	 dd       Ze	 	 	 	 dd       Zef	 d fdZ	 xZ
S )rg   a  
    TextValue schema wrapper.

    Parameters
    ----------
    condition : dict, :class:`ConditionalStringFieldDef`, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterStringFieldDef`, :class:`ConditionalPredicateStringFieldDef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`, Sequence[dict, :class:`ConditionalValueDefTextExprRef`, :class:`ConditionalParameterValueDefTextExprRef`, :class:`ConditionalPredicateValueDefTextExprRef`]
        A field definition or one or more value definition(s) with a parameter predicate.
    value : str, dict, :class:`Text`, Sequence[str], :class:`ExprRef`
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  )
r   r   r   r   r  r  r   ro  r5  r   c       
             y r   r   )r   r   r   r   r   r  r  r   ro  r5  r   s              r   r   zTextValue.condition:  s      r   )r   r   r   r   r   r  r  r   ro  r5  r   c                    y r   r   )r   r   r   r   r   r   r  r  r   ro  r5  r   s               r   r   zTextValue.condition:  s    " r   r   c                    y r   r   r   s      r   r   zTextValue.condition:  r  r   r   c                    y r   r   r   s       r   r   zTextValue.condition:  r  r   c                    y r   r   r   s     r   r   zTextValue.condition:  r  r   c                *    t        |   d||d| y r  r|  r  s       r   r}  zTextValue.__init__:  r  r   )r   r  r   r  r   rz  r   r  r  r  r  r  r   r  ro  r  r5  r  r   r  r   rg   )r   r  r   r  r   rz  r   r  r   r  r  r  r  r  r   r  ro  r  r5  r  r   r  r   rg   )r   r  r   r  r   rg   )r   r  r   r  r   r  r   rg   )r   r  r   rg   r  r  r   s   @r   rg   rg   :  s8    (-$N GP(1LU2;3<$-1: CL6? D &	
 J 0 1 " /
 A 4 
    GP(1LU )2;3<$-,5 CL6? D &	
 J  0 1 " *
 A 4  
! "  2;NW	 / L	
 
   !*,5NW  *	
 L 
  :	  NWC KC Cr   rg   c                       e Zd ZdZdZdZedd       Zeedd d       Zeedd!d       Zed"d	       Z	ed#d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d$d       Z
ed%d       Zeed	 	 	 d&d       Zed'd       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d(d       Ze	 	 	 	 d)d       Zeeeed	 	 	 	 	 	 	 d*d       Zeeed	 	 	 	 	 d+d       Zed,d       Ze	 	 	 	 d-d       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 d.d       Zed/d       Zed0d       Zeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d1 fdZ xZS )2rh   a@  
    Theta schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, Literal['binned'], :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        documentation.
    stack : bool, :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None
        Type of stacking offset if the field should be stacked. ``stack`` is only applicable
        for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For
        example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar
        chart.

        ``stack`` can be one of the following values:

        * ``"zero"`` or ``true``: stacking with baseline offset at zero value of the scale
          (for creating typical stacked `bar
          <https://vega.github.io/vega-lite/docs/stack.html#bar>`__ and `area
          <https://vega.github.io/vega-lite/docs/stack.html#area>`__ chart).
        * ``"normalize"`` - stacking with normalized domain (for creating `normalized
          stacked bar and area charts
          <https://vega.github.io/vega-lite/docs/stack.html#normalized>`__ and pie charts
          `with percentage tooltip
          <https://vega.github.io/vega-lite/docs/arc.html#tooltip>`__).
        * ``"center"`` - stacking with center baseline (for `streamgraph
          <https://vega.github.io/vega-lite/docs/stack.html#streamgraph>`__).
        * ``null`` or ``false`` - No-stacking. This will produce layered `bar
          <https://vega.github.io/vega-lite/docs/stack.html#layered-bar-chart>`__ and area
          chart.

        **Default value:** ``zero`` for plots with all of the following conditions are true:
        (1) the mark is ``bar``, ``area``, or ``arc``; (2) the stacked measure channel (x or
        y) has a linear scale; (3) At least one of non-position channels mapped to an
        unaggregated field that is different from x and y. Otherwise, ``null`` by default.

        **See also:** `stack <https://vega.github.io/vega-lite/docs/stack.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fthetac                    y r   r   r   s     r   r   zTheta.aggregate;  r   r   r   c                    y r   r   r   s     r   r   zTheta.aggregate;  r   r   r   c                    y r   r   r   s     r   r   zTheta.aggregate;  r   r   c                    y r   r   r   s     r   r   zTheta.bandPosition;  r   r   c                    y r   r   r   s     r   r   z	Theta.bin;  r  r   r   c       
             y r   r   r   s              r   r   z	Theta.bin;  r   r   c                    y r   r   r   s     r   r   zTheta.field;  r   r   r   c                    y r   r   r   s     r   r   zTheta.field;  r   r   c                    y r   r   r   s     r   rI  zTheta.scale;  r   r   rJ  c                    y r   r   r`  s                            r   rI  zTheta.scale;  ra  r   c                    y r   r   r   s     r   rc  z
Theta.sort'<  rd  r   re  c                    y r   r   ri  s       r   rc  z
Theta.sort2<  r   r   rj  c                    y r   r   rm  s      r   rc  z
Theta.sort:<  r   r   c                    y r   r   r   s     r   r1  zTheta.stackA<  rC  r   c                    y r   r   r   s     r   ro  zTheta.timeUnitC<  r   r   rp  c                    y r   r   rt  s         r   ro  zTheta.timeUnitI<  ru  r   c                    y r   r   r   s     r   r5  zTheta.titleS<  rw  r   c                    y r   r   r   s     r   r   z
Theta.typeU<  ry  r   c                <    t        |   d|||||||||	|
|d| y r7  r|  r8  s                r   r}  zTheta.__init__X<  r9  r   )r   r  r   rh   )r   r  r   rh   )r   r  r   rh   )r   r  r   rh   )r   rv  r   rh   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   rh   )r   r  r   rh   )r   r  r   rh   )r   r  r   rh   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   rh   )r   r  r   rh   )r   r  rf  r  rg  r  r   rh   )rk  r  rg  r  r   rh   )r   r:  r   rh   )r   r  r   rh   )r   r  r   r  r   r  rq  r  rr  r  r   rh   )r   r  r   rh   )r   r  r   rh   r;  r=  r   s   @r   rh   rh   :  s   gR (-$N@ @@IX X@IX X5 5L L #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
  8 8 IR F 
	 
 5 5 AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b 		 
	 	  3<9B;D 0 7	
 9 
   <E;D	 9 9	
 
  D DQ 
	 
  "+#, )JS'  !	
  H  
  C C6 6 GPFO(1LU2;3< DM CL6?/'
C'
 D'
 &	'

 J'
 0'
 1'
	
'
$ B%'
&
''
, A-'
. 4/'
 '
r   rh   c                  L    e Zd ZdZdZdZedd       Zedd       Zee	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	d	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Z
edd	       Zedd
       Ze	e	e	e	e	f	 	 	 	 	 	 	 	 	 d fdZ xZS )rl   a   
    ThetaDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    stack : bool, :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None
        Type of stacking offset if the field should be stacked. ``stack`` is only applicable
        for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For
        example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar
        chart.

        ``stack`` can be one of the following values:

        * ``"zero"`` or ``true``: stacking with baseline offset at zero value of the scale
          (for creating typical stacked `bar
          <https://vega.github.io/vega-lite/docs/stack.html#bar>`__ and `area
          <https://vega.github.io/vega-lite/docs/stack.html#area>`__ chart).
        * ``"normalize"`` - stacking with normalized domain (for creating `normalized
          stacked bar and area charts
          <https://vega.github.io/vega-lite/docs/stack.html#normalized>`__ and pie charts
          `with percentage tooltip
          <https://vega.github.io/vega-lite/docs/arc.html#tooltip>`__).
        * ``"center"`` - stacking with center baseline (for `streamgraph
          <https://vega.github.io/vega-lite/docs/stack.html#streamgraph>`__).
        * ``null`` or ``false`` - No-stacking. This will produce layered `bar
          <https://vega.github.io/vega-lite/docs/stack.html#layered-bar-chart>`__ and area
          chart.

        **Default value:** ``zero`` for plots with all of the following conditions are true:
        (1) the mark is ``bar``, ``area``, or ``arc``; (2) the stacked measure channel (x or
        y) has a linear scale; (3) At least one of non-position channels mapped to an
        unaggregated field that is different from x and y. Otherwise, ``null`` by default.

        **See also:** `stack <https://vega.github.io/vega-lite/docs/stack.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zThetaDatum.bandPosition=  r  r   c                    y r   r   r   s     r   rI  zThetaDatum.scale=  r  r   rJ  c                    y r   r   r`  s                            r   rI  zThetaDatum.scale=  r  r   c                    y r   r   r   s     r   r1  zThetaDatum.stackK=  ro  r   c                    y r   r   r   s     r   r5  zThetaDatum.titleM=  r  r   c                    y r   r   r   s     r   r   zThetaDatum.typeO=  r  r   c           
     2    t        |   d||||||d| y rF  r|  rG  s	           r   r}  zThetaDatum.__init__R=  rH  r   )r   r  r   rl   )r   r  r   rl   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   rl   )r   r:  r   rl   )r   r  r   rl   )r   r  r   rl   rI  rJ  r   s   @r   rl   rl   <  s5   L\ (-$N: :: : AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b I IH H3 3
 )23<DMCL.7
 &
 1	

 B
 A
 ,
 
r   rl   c                  *     e Zd ZdZdZdZ fdZ xZS )rm   a  
    ThetaValue schema wrapper.

    Definition object for a constant value (primitive value or gradient definition) of an
    encoding channel.

    Parameters
    ----------
    value : dict, float, :class:`ExprRef`, Literal['height', 'width']
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  c                (    t        |   dd|i| y r  r|  r  s      r   r}  zThetaValue.__init__z=  r  r   r  r   s   @r   rm   rm   g=  s     (-$N. .r   rm   c                  Z    e Zd ZdZdZdZedd       Zeed	 	 	 dd       Zeed	 	 	 dd       Zedd	       Z	edd
       Z
edd       Zeed	 	 	 dd       Ze	 	 	 	 dd       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Zeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS )ri   a!  
    Theta2 schema wrapper.

    A field definition of a secondary channel that shares a scale with another primary channel.
    For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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 : None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    Ftheta2c                    y r   r   r   s     r   r   zTheta2.aggregate=  r  r   r   c                    y r   r   r   s     r   r   zTheta2.aggregate=  r   r   r   c                    y r   r   r   s     r   r   zTheta2.aggregate=  r   r   c                    y r   r   r   s     r   r   zTheta2.bandPosition=  ry  r   c                    y r   r   r   s     r   r   z
Theta2.bin=  rA  r   c                    y r   r   r   s     r   r   zTheta2.field=  r%  r   r   c                    y r   r   r   s     r   r   zTheta2.field=  r-  r   c                    y r   r   r   s     r   ro  zTheta2.timeUnit=  r-  r   rp  c                    y r   r   rt  s         r   ro  zTheta2.timeUnit=  rA  r   c                    y r   r   r   s     r   r5  zTheta2.title>  rC  r   c                4    t        	|   d|||||||d| y r  r|  r  s
            r   r}  zTheta2.__init__>  r  r   )r   r  r   ri   )r   r  r   ri   )r   r  r   ri   )r   r  r   ri   )r   rw  r   ri   )r   r  r   ri   )r   r  r   ri   )r   r  r   ri   )r   r  r   r  r   r  rq  r  rr  r  r   ri   )r   r  r   ri   r  r  r   s   @r   ri   ri   ~=     Wr (-$NA A6?3	  6?3	  6 6, ,9 9 IR F 
	 
 Q 
	 
  "+#, )JS'  !	
  H  
  D D GPFO(1'2; CL
C
 D
 &	

 
 0


 A
 
r   ri   c                  t     e Zd ZdZdZdZedd       Zed	d       Zed
d       Z	e
e
e
f	 	 	 	 	 d fdZ xZS )rj   a  
    Theta2Datum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zTheta2Datum.bandPosition>  rZ  r   c                    y r   r   r   s     r   r5  zTheta2Datum.title>  ro  r   c                    y r   r   r   s     r   r   zTheta2Datum.type>  r  r   c                .    t        |   d||||d| y r  r|  r  s         r   r}  zTheta2Datum.__init__>  r  r   )r   r  r   rj   )r   r  r   rj   )r   r  r   rj   r  r  r   s   @r   rj   rj   >  su    aF (-$N; ;I I4 4
 )2CL.7

 &

 A	


 ,

 

r   rj   c                  *     e Zd ZdZdZdZ fdZ xZS )rk   a  
    Theta2Value schema wrapper.

    Definition object for a constant value (primitive value or gradient definition) of an
    encoding channel.

    Parameters
    ----------
    value : dict, float, :class:`ExprRef`, Literal['height', 'width']
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  c                (    t        |   dd|i| y r  r|  r  s      r   r}  zTheta2Value.__init__>  r  r   r  r   s   @r   rk   rk   >  rM  r   rk   c                  v    e Zd ZdZdZdZedd       Zeed	 	 	 dd       Zeed	 	 	 d d       Zed!d	       Z	ed"d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d#d       Z
eeed	 	 	 	 	 d$d       Zeeeed	 	 	 	 	 	 	 d%d       Ze	 	 	 	 d&d       Zed'd       Zeed	 	 	 d(d       Zed)d       Zed*d       Zed)d       Ze	 	 	 	 d+d       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 d,d       Zed-d       Zed.d       Zeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d/ fdZ xZS )0rn   a6  
    Tooltip schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, Literal['binned'], :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    condition : dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    format : str, dict, :class:`Dict`
        When used with the default ``"number"`` and ``"time"`` format type, the text
        formatting pattern for labels of guides (axes, legends, headers) and text marks.

        * If the format type is ``"number"`` (e.g., for quantitative fields), this is D3's
          `number format pattern <https://github.com/d3/d3-format#locale_format>`__.
        * If the format type is ``"time"`` (e.g., for temporal fields), this is D3's `time
          format pattern <https://github.com/d3/d3-time-format#locale_format>`__.

        See the `format documentation <https://vega.github.io/vega-lite/docs/format.html>`__
        for more examples.

        When used with a `custom formatType
        <https://vega.github.io/vega-lite/docs/config.html#custom-format-type>`__, this
        value will be passed as ``format`` alongside ``datum.value`` to the registered
        function.

        **Default value:**  Derived from `numberFormat
        <https://vega.github.io/vega-lite/docs/config.html#format>`__ config for number
        format and from `timeFormat
        <https://vega.github.io/vega-lite/docs/config.html#format>`__ config for time
        format.
    formatType : str
        The format type for labels. One of ``"number"``, ``"time"``, or a `registered custom
        format type
        <https://vega.github.io/vega-lite/docs/config.html#custom-format-type>`__.

        **Default value:**

        * ``"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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Ftooltipc                    y r   r   r   s     r   r   zTooltip.aggregateu?  r  r   r   c                    y r   r   r   s     r   r   zTooltip.aggregatew?  r  r   r   c                    y r   r   r   s     r   r   zTooltip.aggregate{?  r  r   c                    y r   r   r   s     r   r   zTooltip.bandPosition?  r  r   c                    y r   r   r   s     r   r   zTooltip.bin?  r$  r   r   c       
             y r   r   r   s              r   r   zTooltip.bin?  r  r   r   c                    y r   r   r   s      r   r   zTooltip.condition?  r  r   r   c                    y r   r   r   s       r   r   zTooltip.condition?  r  r   c                    y r   r   r   s     r   r   zTooltip.condition?  r  r   c                    y r   r   r   s     r   r   zTooltip.field?  r  r   r   c                    y r   r   r   s     r   r   zTooltip.field?  r  r   c                    y r   r   r   s     r   r  zTooltip.format?  r*  r   c                    y r   r   r   s     r   r  zTooltip.format?  r*  r   c                    y r   r   r   s     r   r  zTooltip.formatType?  r  r   c                    y r   r   r   s     r   ro  zTooltip.timeUnit?  r  r   rp  c                    y r   r   rt  s         r   ro  zTooltip.timeUnit?  r  r   c                    y r   r   r   s     r   r5  zTooltip.title?  r  r   c                    y r   r   r   s     r   r   zTooltip.type?  r   r   c                <    t        |   d|||||||||	|
|d| y rs  r|  rt  s                r   r}  zTooltip.__init__?  ru  r   )r   r  r   rn   )r   r  r   rn   )r   r  r   rn   )r   r  r   rn   )r   rv  r   rn   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   rn   )r   r  r   r  r   rn   )r   r  r   r  r   r  r   rn   )r   rw  r   rn   )r   r  r   rn   )r   r  r   rn   )r   r   r   rn   )r   rx  r   rn   )r   r  r   rn   )r   r  r   r  r   r  rq  r  rr  r  r   rn   )r   r  r   rn   )r   r  r   rn   ry  r{  r   s   @r   rn   rn   >  s   }~ (-$NB B6?3	  6?3	  7 7N N #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
   2;>G	 / <	
 
   !*,5>G  *	
 < 
  <	  : : IR F 
	 
 / // /3 3Q 
	 
  "+#, )JS'  !	
  H  
  E E8 8 GPFO(1LUMV2;3<$- CL6?
C
 D
 &	

 J
 K
 0
 1
 "


 A
 4
 
r   rn   c                      e Zd ZdZdZdZeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd	       Zeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeed	 	 	 	 	 dd       Zeeeed	 	 	 	 	 	 	 dd       Ze	 	 	 	 dd       Zef	 d fdZ	 xZ
S )ro   a  
    TooltipValue schema wrapper.

    Parameters
    ----------
    condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`]
        A field definition or one or more value definition(s) with a parameter predicate.
    value : str, dict, :class:`ExprRef`, None
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  r  c                    y r   r   r  s               r   r   zTooltipValue.condition?  r  r   r  c                    y r   r   r  s           r   r   zTooltipValue.condition@  r   r   r  c                    y r   r   r  s                r   r   zTooltipValue.condition$@  r  r   r  c                    y r   r   r  s	            r   r   zTooltipValue.condition@@  r  r   r   c                    y r   r   r   s      r   r   zTooltipValue.conditionO@  r  r   r   c                    y r   r   r   s       r   r   zTooltipValue.conditionV@  r  r   c                    y r   r   r   s     r   r   zTooltipValue.condition^@  r  r   c                *    t        |   d||d| y r  r|  r  s       r   r}  zTooltipValue.__init__c@  r  r   )r   r  r   r  r   r  r   r  r  r  rI  r  rc  r  r   r  ro  r  r5  r  r   r  r   ro   )r   r  r   r  r  r  rI  r  r   r  r5  r  r   r  r   ro   )r   r  r   r  r   r  r   r  r   r  r  r  r   r  rI  r  rc  r  ro  r  r5  r  r   r  r   ro   )r   r  r   r  r   r  r  r  r   r  rI  r  r5  r  r   r  r   ro   )r   r  r   r  r   ro   )r   r  r   r  r   r  r   ro   )r   r  r   ro   r  r  r   s   @r   ro   ro   ?  s]    (-$N GP(18A2;4=3< 1: CL6?1 D &	
 6 0 2 1	
& /'(
). A/0 412 
3 4  )2 4=3<1:CL.7 &
	 2 1 / A , 
   GP(18A )2;4=,53<  CL6?3 D &	
 6  0 2 * 1	
*
+0 A12 434 
5 6  )2  )4=,53<CL.7 &
	  2 * 1 A , 
   2;EN	 / C	
 
   !*,5EN  *	
 C 
  @	  NWC KC Cr   ro   c                  b    e Zd ZdZdZdZedd       Zeeddd       Zeedd d       Zed!d	       Z	ed"d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d#d       Z
eeed	 	 	 	 	 d$d       Zeeeed	 	 	 	 	 	 	 d%d       Zed&d       Zed'd       Zeed	 	 	 d(d       Zed)d       Zed*d       Zed)d       Ze	 	 	 	 d+d       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 d,d       Zed-d       Zed.d       Zeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d/ fdZ xZS )0rp   a6  
    Url schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, Literal['binned'], :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    condition : dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`, Sequence[dict, :class:`ConditionalValueDefstringExprRef`, :class:`ConditionalParameterValueDefstringExprRef`, :class:`ConditionalPredicateValueDefstringExprRef`]
        One or more value definition(s) with `a parameter or a test predicate
        <https://vega.github.io/vega-lite/docs/condition.html>`__.

        **Note:** A field definition's ``condition`` property can only contain `conditional
        value definitions <https://vega.github.io/vega-lite/docs/condition.html#value>`__
        since Vega-Lite only allows at most one encoded field per encoding channel.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    format : str, dict, :class:`Dict`
        When used with the default ``"number"`` and ``"time"`` format type, the text
        formatting pattern for labels of guides (axes, legends, headers) and text marks.

        * If the format type is ``"number"`` (e.g., for quantitative fields), this is D3's
          `number format pattern <https://github.com/d3/d3-format#locale_format>`__.
        * If the format type is ``"time"`` (e.g., for temporal fields), this is D3's `time
          format pattern <https://github.com/d3/d3-time-format#locale_format>`__.

        See the `format documentation <https://vega.github.io/vega-lite/docs/format.html>`__
        for more examples.

        When used with a `custom formatType
        <https://vega.github.io/vega-lite/docs/config.html#custom-format-type>`__, this
        value will be passed as ``format`` alongside ``datum.value`` to the registered
        function.

        **Default value:**  Derived from `numberFormat
        <https://vega.github.io/vega-lite/docs/config.html#format>`__ config for number
        format and from `timeFormat
        <https://vega.github.io/vega-lite/docs/config.html#format>`__ config for time
        format.
    formatType : str
        The format type for labels. One of ``"number"``, ``"time"``, or a `registered custom
        format type
        <https://vega.github.io/vega-lite/docs/config.html#custom-format-type>`__.

        **Default value:**

        * ``"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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Furlc                    y r   r   r   s     r   r   zUrl.aggregate0A  re  r   r   c                    y r   r   r   s     r   r   zUrl.aggregate2A  rV  r   r   c                    y r   r   r   s     r   r   zUrl.aggregate4A  rV  r   c                    y r   r   r   s     r   r   zUrl.bandPosition6A  r  r   c                    y r   r   r   s     r   r   zUrl.bin8A  rZ  r   r   c       
             y r   r   r   s              r   r   zUrl.bin:A  r\  r   r   c                    y r   r   r   s      r   r   zUrl.conditionIA  s     r   r   c                    y r   r   r   s       r   r   zUrl.conditionPA  rt  r   c                    y r   r   r   s     r   r   zUrl.conditionXA  rV  r   c                    y r   r   r   s     r   r   z	Url.fieldZA  ry  r   r   c                    y r   r   r   s     r   r   z	Url.field\A  r_  r   c                    y r   r   r   s     r   r  z
Url.formatbA      (+r   c                    y r   r   r   s     r   r  z
Url.formatdA  r  r   c                    y r   r   r   s     r   r  zUrl.formatTypefA  r*  r   c                    y r   r   r   s     r   ro  zUrl.timeUnithA  r_  r   rp  c                    y r   r   rt  s         r   ro  zUrl.timeUnitnA  rb  r   c                    y r   r   r   s     r   r5  z	Url.titlexA  r  r   c                    y r   r   r   s     r   r   zUrl.typezA  r  r   c                <    t        |   d|||||||||	|
|d| y rs  r|  rt  s                r   r}  zUrl.__init__}A  ru  r   )r   r  r   rp   )r   r  r   rp   )r   r  r   rp   )r   r  r   rp   )r   rv  r   rp   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   rp   )r   r  r   r  r   rp   )r   r  r   r  r   r  r   rp   )r   rw  r   rp   )r   r  r   rp   )r   r  r   rp   )r   r   r   rp   )r   rx  r   rp   )r   r  r   rp   )r   r  r   r  r   r  rq  r  rr  r  r   rp   )r   r  r   rp   )r   r  r   rp   ry  r{  r   s   @r   rp   rp   l@  sB   }~ (-$N> >@IV V@IV V3 3J J #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
   2;>G	 / <	
 
   !*,5>G  *	
 < 
  V V6 6 IR F 
	 
 + ++ +/ /Q 
	 
  "+#, )JS'  !	
  H  
  A A4 4 GPFO(1LUMV2;3<$- CL6?
C
 D
 &	

 J
 K
 0
 1
 "


 A
 4
 
r   rp   c                      e Zd ZdZdZdZeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd	       Zeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zeeed	 	 	 	 	 dd       Zeeeed	 	 	 	 	 	 	 dd       Ze	 	 	 	 dd       Zef	 d fdZ	 xZ
S )rq   a  
    UrlValue schema wrapper.

    Parameters
    ----------
    condition : dict, :class:`ConditionalMarkPropFieldOrDatumDef`, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterMarkPropFieldOrDatumDef`, :class:`ConditionalPredicateMarkPropFieldOrDatumDef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`, Sequence[dict, :class:`ConditionalValueDefstringnullExprRef`, :class:`ConditionalParameterValueDefstringnullExprRef`, :class:`ConditionalPredicateValueDefstringnullExprRef`]
        A field definition or one or more value definition(s) with a parameter predicate.
    value : str, dict, :class:`ExprRef`, None
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  r  c                    y r   r   r  s               r   r   zUrlValue.conditionA  s    4 r   r  c                    y r   r   r  s           r   r   zUrlValue.conditionA  s     r   r  c                    y r   r   r  s                r   r   zUrlValue.conditionA  s    6 r   r  c                    y r   r   r  s	            r   r   zUrlValue.conditionA  s     r   r   c                    y r   r   r   s      r   r   zUrlValue.conditionB  s     r   r   c                    y r   r   r   s       r   r   zUrlValue.conditionB  s     r   c                    y r   r   r   s     r   r   zUrlValue.conditionB  rj  r   c                *    t        |   d||d| y r  r|  r  s       r   r}  zUrlValue.__init__B  r  r   )r   r  r   r  r   r  r   r  r  r  rI  r  rc  r  r   r  ro  r  r5  r  r   r  r   rq   )r   r  r   r  r  r  rI  r  r   r  r5  r  r   r  r   rq   )r   r  r   r  r   r  r   r  r   r  r  r  r   r  rI  r  rc  r  ro  r  r5  r  r   r  r   rq   )r   r  r   r  r   r  r  r  r   r  rI  r  r5  r  r   r  r   rq   )r   r  r   r  r   rq   )r   r  r   r  r   r  r   rq   )r   r  r   rq   r  r  r   s   @r   rq   rq   A  s]    (-$N GP(18A2;4=3< 1: CL6?1 D &	
 6 0 2 1	
& /'(
). A/0 412 
3 4  )2 4=3<1:CL.7 &
	 2 1 / A , 
   GP(18A )2;4=,53<  CL6?3 D &	
 6  0 2 * 1	
*
+0 A12 434 
5 6  )2  )4=,53<CL.7 &
	  2 * 1 A , 
   2;EN	 / C	
 
   !*,5EN  *	
 C 
  @	  NWC KC Cr   rq   c            P      L    e Zd ZdZdZdZed%d       Zeedd&d       Zeedd'd       Zed(d	       Z	eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed
N	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d)d       Z	ed*d       Z
ed+d       Zeeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d,d       Zed-d       Zeed	 	 	 d.d       Zed/d       Zeeeeed	 	 	 	 	 	 	 	 	 d0d       Zed1d       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d2d       Ze	 	 	 	 d3d       Zeeeed	 	 	 	 	 	 	 d4d       Zeeed	 	 	 	 	 d5d       Zed6d       Ze	 	 	 	 d7d       Zeeeeeed 	 	 	 	 	 	 	 	 	 	 	 d8d!       Zed9d"       Zed:d#       Zeeeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d; fd$Z xZS )<rs   a*D  
    X schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    axis : dict, :class:`Axis`, None
        An object defining properties of axis's gridlines, ticks and labels. If ``null``,
        the axis for the encoding channel will be removed.

        **Default value:** If undefined, default `axis properties
        <https://vega.github.io/vega-lite/docs/axis.html>`__ are applied.

        **See also:** `axis <https://vega.github.io/vega-lite/docs/axis.html>`__
        documentation.
    bandPosition : float
        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, Literal['binned'], :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    impute : dict, :class:`ImputeParams`, None
        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
        the ``Impute`` Operation.

        **See also:** `impute <https://vega.github.io/vega-lite/docs/impute.html>`__
        documentation.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        documentation.
    stack : bool, :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None
        Type of stacking offset if the field should be stacked. ``stack`` is only applicable
        for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For
        example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar
        chart.

        ``stack`` can be one of the following values:

        * ``"zero"`` or ``true``: stacking with baseline offset at zero value of the scale
          (for creating typical stacked `bar
          <https://vega.github.io/vega-lite/docs/stack.html#bar>`__ and `area
          <https://vega.github.io/vega-lite/docs/stack.html#area>`__ chart).
        * ``"normalize"`` - stacking with normalized domain (for creating `normalized
          stacked bar and area charts
          <https://vega.github.io/vega-lite/docs/stack.html#normalized>`__ and pie charts
          `with percentage tooltip
          <https://vega.github.io/vega-lite/docs/arc.html#tooltip>`__).
        * ``"center"`` - stacking with center baseline (for `streamgraph
          <https://vega.github.io/vega-lite/docs/stack.html#streamgraph>`__).
        * ``null`` or ``false`` - No-stacking. This will produce layered `bar
          <https://vega.github.io/vega-lite/docs/stack.html#layered-bar-chart>`__ and area
          chart.

        **Default value:** ``zero`` for plots with all of the following conditions are true:
        (1) the mark is ``bar``, ``area``, or ``arc``; (2) the stacked measure channel (x or
        y) has a linear scale; (3) At least one of non-position channels mapped to an
        unaggregated field that is different from x and y. Otherwise, ``null`` by default.

        **See also:** `stack <https://vega.github.io/vega-lite/docs/stack.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fxc                    y r   r   r   s     r   r   zX.aggregate C  rq  r   r   c                    y r   r   r   s     r   r   zX.aggregate"C      QTr   r   c                    y r   r   r   s     r   r   zX.aggregate$C  r$  r   c                    y r   r   r   s     r   axiszX.axis&C  r*  r   Nr  r   r	  rO  	domainCapdomainColor
domainDashdomainDashOffsetdomainOpacitydomainWidthr  r  gridgridCap	gridColorgridDashgridDashOffsetgridOpacity	gridWidthr  r2  r  
labelBoundr  r  
labelFlushlabelFlushOffsetr  r  r  r  r  r3  r  r  r  r   r!  r5  	maxExtent	minExtentr$  r%  positionstyletickBandtickCap	tickColorr3  tickDashtickDashOffset	tickExtrar4  
tickOffsettickOpacity	tickRoundtickSize	tickWidthticksr5  r6  r7  r6  r8  r9  r:  r;  r<  r=  r>  r?  r@  rB  titleXtitleY	translaterC  rD  c       N             y r   r   Or   r  r   r	  rO  r)  r*  r+  r,  r-  r.  r  r  r/  r0  r1  r2  r3  r4  r5  r  r2  r  r6  r  r  r7  r8  r  r  r  r  r  r3  r  r  r  r   r!  r5  r9  r:  r$  r%  r;  r<  r=  r>  r?  r3  r@  rA  rB  r4  rC  rD  rE  rF  rG  rH  r5  r6  r7  r6  r8  r9  r:  r;  r<  r=  r>  r?  r@  rB  rI  rJ  rK  rC  rD  sO                                                                                  r   r'  zX.axis(C      h r   c                    y r   r   r   s     r   r   zX.bandPositionC  r>  r   c                    y r   r   r   s     r   r   zX.binC  r  r   r   c       
             y r   r   r   s              r   r   zX.binC       r   c                    y r   r   r   s     r   r   zX.fieldC  r  r   r   c                    y r   r   r   s     r   r   zX.fieldC      
 r   c                    y r   r   r   s     r   imputezX.imputeC  r  r   framekeyvalsmethodr   c                    y r   r   r   rY  rZ  r[  r   s        r   rW  zX.imputeC       r   c                    y r   r   r   s     r   rI  zX.scaleC  r>  r   rJ  c                    y r   r   r`  s                            r   rI  zX.scaleC      b r   c                    y r   r   r   s     r   rc  zX.sortC       r   re  c                    y r   r   ri  s       r   rc  zX.sortD       r   rj  c                    y r   r   rm  s      r   rc  zX.sort
D       r   c                    y r   r   r   s     r   r1  zX.stackD  r   r   c                    y r   r   r   s     r   ro  z
X.timeUnitD  rU  r   rp  c                    y r   r   rt  s         r   ro  z
X.timeUnitD       r   c                    y r   r   r   s     r   r5  zX.title#D  r  r   c                    y r   r   r   s     r   r   zX.type%D  r  r   c                @    t        |   d|||||||||	|
|||d| y N)r   r   r'  r   r   r   rW  rI  rc  r1  ro  r5  r   r   r|  r   r   r   r'  r   r   r   rW  rI  rc  r1  ro  r5  r   r   r   s                  r   r}  z
X.__init__(D  H    8 	 	
%	
 	
r   )r   r  r   rs   )r   r  r   rs   )r   r  r   rs   )r   Axis | Noner   rs   )r  r  r   r  r	  r  rO  r  r)  4Optional[Parameter | SchemaBase | Map | StrokeCap_T]r*  r  r+  r  r,  r  r-  r  r.  r  r  r  r  r  r/  r  r0  rs  r1  r  r2  r  r3  r  r4  r  r5  r  r  r  r2  r  r  r  r6  5Optional[bool | float | Parameter | SchemaBase | Map]r  r  r  r  r7  Optional[bool | float]r8  r  r  r  r  r  r  r  r  r  r  r  r3  r  r  r  r  r  r  r  r   r  r!  r  r5  r  r9  r  r:  r  r$  r  r%  5Optional[Parameter | SchemaBase | Map | AxisOrient_T]r;  r  r<  Optional[str | Sequence[str]]r=  DOptional[Parameter | SchemaBase | Literal['center', 'extent'] | Map]r>  rs  r?  r  r3  r  r@  r  rA  r  rB  r  r4  r  rC  r  rD  r  rE  r  rF  r  rG  r  rH  r  r5  r  r6  r  r7  r  r6  r  r8  r  r9  r  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  r@  r  rB  r  rI  r  rJ  r  rK  r  rC  r  rD  r  r   rs   )r   r  r   rs   )r   rv  r   rs   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   rs   )r   r  r   rs   )r   r  r   rs   )r   Impute | Noner   rs   )
rY   Optional[Sequence[float | None]]rZ  *Optional[SchemaBase | Sequence[Any] | Map]r[  %Optional[SchemaBase | ImputeMethod_T]r   Optional[Any]r   rs   )r   r  r   rs   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   rs   )r   r  r   rs   )r   r  rf  r  rg  r  r   rs   )rk  r  rg  r  r   rs   )r   r:  r   rs   )r   r  r   rs   )r   r  r   r  r   r  rq  r  rr  r  r   rs   )r   r  r   rs   )r   r  r   rs   r   r  r   r  r'  r  r   r  r   rz  r   r  rW  r  rI  r  rc  r  r1  r<  ro  r  r5  r  r   r  r   r   r   r  r  r   r	   r   r   r'  r   r   r   rW  rI  rc  r1  ro  r5  r   r}  r   r   s   @r   rs   rs   !B  
   xt (-$N< <@IT T@IT T/ / ?HGPDM!*JS  KTHQFO3<$-(HQ MVIRFODMGPEN LU #,-6KTBKHQGP ENJSFOGP GPJS!*DMDMAJHQCL/8 HQ  MVIR$-FOENFO$-CLDM )CLGPNWEN  BKHQGP ENJSGPGPAJAJDM "+es <s E	s
 Bs s Hs
s
s Is Fs  D!s" 1#s$ "%s& 's( F)s*
+s0 K1s2 G3s4 D5s6 B7s8 E9s: C;s<
=sB JCsD
EsJ !KsL +MsN IOsP @QsR FSsT EUsV
Ws\ C]s^ H_s` Dasb Ecsd
esj Eksl Hmsn osp Bqsr Bsst ?usv Fwsx Aysz -{s|
}sB FCsD
EsJ
KsP KQsR GSsT "UsV DWsX CYsZ D[s\ "]s^ A_s` Basb csd Aesf Egsh Lisj Cksl
msr
ssx @ysz F{s| E}s~
sD CEsF HGsH EIsJ EKsL ?MsN ?OsP BQsR
Ssd  esf 
gs sh 1 1H H #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
  4 4 IR F 
	 
 3 3 3<>G8A( 0 <	
 6  
  1 1 AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b 		 
	 	  3<9B;D 0 7	
 9 
   <E;D	 9 9	
 
  @ @Q 
	 
  "+#, )JS'  !	
  H  
  ? ?2 2 GPFO2;(1LU2;4=3< DM CL6?3+
C+
 D+
 0	+

 &+
 J+
 0+
 2+
 1+
	
+
( B)+
*
++
0 A1+
2 43+
 +
r   rs   c            P          e Zd ZdZdZdZedd       ZeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedN	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Z	edd       Z
eeeeed		 	 	 	 	 	 	 	 	 dd
       Z
edd       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Zedd       Zedd       Zeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS )rv   a#  
    XDatum schema wrapper.

    Parameters
    ----------
    axis : dict, :class:`Axis`, None
        An object defining properties of axis's gridlines, ticks and labels. If ``null``,
        the axis for the encoding channel will be removed.

        **Default value:** If undefined, default `axis properties
        <https://vega.github.io/vega-lite/docs/axis.html>`__ are applied.

        **See also:** `axis <https://vega.github.io/vega-lite/docs/axis.html>`__
        documentation.
    bandPosition : float
        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, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    impute : dict, :class:`ImputeParams`, None
        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
        the ``Impute`` Operation.

        **See also:** `impute <https://vega.github.io/vega-lite/docs/impute.html>`__
        documentation.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    stack : bool, :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None
        Type of stacking offset if the field should be stacked. ``stack`` is only applicable
        for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For
        example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar
        chart.

        ``stack`` can be one of the following values:

        * ``"zero"`` or ``true``: stacking with baseline offset at zero value of the scale
          (for creating typical stacked `bar
          <https://vega.github.io/vega-lite/docs/stack.html#bar>`__ and `area
          <https://vega.github.io/vega-lite/docs/stack.html#area>`__ chart).
        * ``"normalize"`` - stacking with normalized domain (for creating `normalized
          stacked bar and area charts
          <https://vega.github.io/vega-lite/docs/stack.html#normalized>`__ and pie charts
          `with percentage tooltip
          <https://vega.github.io/vega-lite/docs/arc.html#tooltip>`__).
        * ``"center"`` - stacking with center baseline (for `streamgraph
          <https://vega.github.io/vega-lite/docs/stack.html#streamgraph>`__).
        * ``null`` or ``false`` - No-stacking. This will produce layered `bar
          <https://vega.github.io/vega-lite/docs/stack.html#layered-bar-chart>`__ and area
          chart.

        **Default value:** ``zero`` for plots with all of the following conditions are true:
        (1) the mark is ``bar``, ``area``, or ``arc``; (2) the stacked measure channel (x or
        y) has a linear scale; (3) At least one of non-position channels mapped to an
        unaggregated field that is different from x and y. Otherwise, ``null`` by default.

        **See also:** `stack <https://vega.github.io/vega-lite/docs/stack.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr!  c                    y r   r   r   s     r   r'  zXDatum.axisD  r  r   r(  c       N             y r   r   rM  sO                                                                                  r   r'  zXDatum.axisD      h r   c                    y r   r   r   s     r   r   zXDatum.bandPositionqE  ry  r   c                    y r   r   r   s     r   rW  zXDatum.imputesE  r   r   rX  c                    y r   r   r]  s        r   rW  zXDatum.imputeuE       r   c                    y r   r   r   s     r   rI  zXDatum.scale~E  ry  r   rJ  c                    y r   r   r`  s                            r   rI  zXDatum.scaleE  r*  r   c                    y r   r   r   s     r   r1  zXDatum.stackE  r  r   c                    y r   r   r   s     r   r5  zXDatum.titleE  rC  r   c                    y r   r   r   s     r   r   zXDatum.typeE  r*  r   c	                6    t        
|   d||||||||d|	 y N)r   r'  r   rW  rI  r1  r5  r   r   r|  r   r   r'  r   rW  rI  r1  r5  r   r   r   s             r   r}  zXDatum.__init__E  9     	 
	
%
	
 
	
r   )r   rr  r   rv   )r  r  r   r  r	  r  rO  r  r)  rs  r*  r  r+  r  r,  r  r-  r  r.  r  r  r  r  r  r/  r  r0  rs  r1  r  r2  r  r3  r  r4  r  r5  r  r  r  r2  r  r  r  r6  rt  r  r  r  r  r7  ru  r8  r  r  r  r  r  r  r  r  r  r  r  r3  r  r  r  r  r  r  r  r   r  r!  r  r5  r  r9  r  r:  r  r$  r  r%  rv  r;  r  r<  rw  r=  rx  r>  rs  r?  r  r3  r  r@  r  rA  r  rB  r  r4  r  rC  r  rD  r  rE  r  rF  r  rG  r  rH  r  r5  r  r6  r  r7  r  r6  r  r8  r  r9  r  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  r@  r  rB  r  rI  r  rJ  r  rK  r  rC  r  rD  r  r   rv   )r   r  r   rv   )r   ry  r   rv   )
rY  rz  rZ  r{  r[  r|  r   r}  r   rv   )r   r  r   rv   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   rv   )r   r:  r   rv   )r   r  r   rv   )r   r  r   rv   r'  r  r   r  rW  r  rI  r  r1  r<  r5  r  r   r  r   r   r   r  r  r   r	   r'  r   r   rW  rI  r1  r5  r   r}  r   r   s   @r   rv   rv   VD     ]~ (-$N4 4 ?HGPDM!*JS  KTHQFO3<$-(HQ MVIRFODMGPEN LU #,-6KTBKHQGP ENJSFOGP GPJS!*DMDMAJHQCL/8 HQ  MVIR$-FOENFO$-CLDM )CLGPNWEN  BKHQGP ENJSGPGPAJAJDM "+es <s E	s
 Bs s Hs
s
s Is Fs  D!s" 1#s$ "%s& 's( F)s*
+s0 K1s2 G3s4 D5s6 B7s8 E9s: C;s<
=sB JCsD
EsJ !KsL +MsN IOsP @QsR FSsT EUsV
Ws\ C]s^ H_s` Dasb Ecsd
esj Eksl Hmsn osp Bqsr Bsst ?usv Fwsx Aysz -{s|
}sB FCsD
EsJ
KsP KQsR GSsT "UsV DWsX CYsZ D[s\ "]s^ A_s` Basb csd Aesf Egsh Lisj Cksl
msr
ssx @ysz F{s| E}s~
sD CEsF HGsH EIsJ EKsL ?MsN ?OsP BQsR
Ssd  esf 
gs sh 6 68 8 3<>G8A( 0 <	
 6  
  6 6 AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b E ED D/ /
 3<(14=3<DMCL.7
 0
 &	

 2
 1
 B
 A
 ,
 
r   rv   c                  *     e Zd ZdZdZdZ fdZ xZS )r~   a  
    XValue schema wrapper.

    Definition object for a constant value (primitive value or gradient definition) of an
    encoding channel.

    Parameters
    ----------
    value : dict, float, :class:`ExprRef`, Literal['height', 'width']
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr!  c                (    t        |   dd|i| y r  r|  r  s      r   r}  zXValue.__init__E  r  r   r  r   s   @r   r~   r~   E       (-$N. .r   r~   c                  N    e Zd ZdZdZdZedd       Zeeddd       Zeeddd       Zedd	       Z	edd
       Z
edd       Zeed	 	 	 dd       Ze	 	 	 	 dd       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Zeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS )r%   a  
    X2 schema wrapper.

    A field definition of a secondary channel that shares a scale with another primary channel.
    For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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 : None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    Fx2c                    y r   r   r   s     r   r   zX2.aggregateGF  r  r   r   c                    y r   r   r   s     r   r   zX2.aggregateIF  r  r   r   c                    y r   r   r   s     r   r   zX2.aggregateKF  r  r   c                    y r   r   r   s     r   r   zX2.bandPositionMF  r  r   c                    y r   r   r   s     r   r   zX2.binOF      %(r   c                    y r   r   r   s     r   r   zX2.fieldQF  r   r   r   c                    y r   r   r   s     r   r   zX2.fieldSF      
 r   c                    y r   r   r   s     r   ro  zX2.timeUnitYF  r  r   rp  c                    y r   r   rt  s         r   ro  zX2.timeUnit_F       r   c                    y r   r   r   s     r   r5  zX2.titleiF  r   r   c                4    t        	|   d|||||||d| y r  r|  r  s
            r   r}  zX2.__init__lF  r  r   )r   r  r   r%   )r   r  r   r%   )r   r  r   r%   )r   r  r   r%   )r   rw  r   r%   )r   r  r   r%   )r   r  r   r%   )r   r  r   r%   )r   r  r   r  r   r  rq  r  rr  r  r   r%   )r   r  r   r%   r  r  r   s   @r   r%   r%   E     Wr (-$N= =@IU U@IU U2 2( (5 5 IR F 
	 
 Q 
	 
  "+#, )JS'  !	
  H  
  @ @ GPFO(1'2; CL
C
 D
 &	

 
 0


 A
 
r   r%   c                  t     e Zd ZdZdZdZedd       Zed	d       Zed
d       Z	e
e
e
f	 	 	 	 	 d fdZ xZS )rt   a  
    X2Datum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zX2Datum.bandPositionF  r  r   c                    y r   r   r   s     r   r5  zX2Datum.titleF  r  r   c                    y r   r   r   s     r   r   zX2Datum.typeF  r  r   c                .    t        |   d||||d| y r  r|  r  s         r   r}  zX2Datum.__init__F  r  r   )r   r  r   rt   )r   r  r   rt   )r   r  r   rt   r  r  r   s   @r   rt   rt   F  u    aF (-$N7 7E E0 0
 )2CL.7

 &

 A	


 ,

 

r   rt   c                  *     e Zd ZdZdZdZ fdZ xZS )ru   a  
    X2Value schema wrapper.

    Definition object for a constant value (primitive value or gradient definition) of an
    encoding channel.

    Parameters
    ----------
    value : dict, float, :class:`ExprRef`, Literal['height', 'width']
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  c                (    t        |   dd|i| y r  r|  r  s      r   r}  zX2Value.__init__G  r  r   r  r   s   @r   ru   ru   G       (-$N. .r   ru   c                  Z    e Zd ZdZdZdZedd       Zeed	 	 	 dd       Zeed	 	 	 dd       Zedd	       Z	edd
       Z
edd       Zeed	 	 	 dd       Ze	 	 	 	 dd       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Zeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS )rw   a!  
    XError schema wrapper.

    A field definition of a secondary channel that shares a scale with another primary channel.
    For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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 : None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    FxErrorc                    y r   r   r   s     r   r   zXError.aggregatevG  r  r   r   c                    y r   r   r   s     r   r   zXError.aggregatexG  r   r   r   c                    y r   r   r   s     r   r   zXError.aggregate|G  r   r   c                    y r   r   r   s     r   r   zXError.bandPositionG  ry  r   c                    y r   r   r   s     r   r   z
XError.binG  rA  r   c                    y r   r   r   s     r   r   zXError.fieldG  r%  r   r   c                    y r   r   r   s     r   r   zXError.fieldG  r-  r   c                    y r   r   r   s     r   ro  zXError.timeUnitG  r-  r   rp  c                    y r   r   rt  s         r   ro  zXError.timeUnitG  rA  r   c                    y r   r   r   s     r   r5  zXError.titleG  rC  r   c                4    t        	|   d|||||||d| y r  r|  r  s
            r   r}  zXError.__init__G  r  r   )r   r  r   rw   )r   r  r   rw   )r   r  r   rw   )r   r  r   rw   )r   rw  r   rw   )r   r  r   rw   )r   r  r   rw   )r   r  r   rw   )r   r  r   r  r   r  rq  r  rr  r  r   rw   )r   r  r   rw   r  r  r   s   @r   rw   rw   G  r  r   rw   c                  *     e Zd ZdZdZdZ fdZ xZS )rz   a  
    XErrorValue schema wrapper.

    Definition object for a constant value (primitive value or gradient definition) of an
    encoding channel.

    Parameters
    ----------
    value : float
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  c                (    t        |   dd|i| y r  r|  r  s      r   r}  zXErrorValue.__init__G  r  r   r  r   s   @r   rz   rz   G  rM  r   rz   c                  Z    e Zd ZdZdZdZedd       Zeed	 	 	 dd       Zeed	 	 	 dd       Zedd	       Z	edd
       Z
edd       Zeed	 	 	 dd       Ze	 	 	 	 dd       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Zeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS )rx   a"  
    XError2 schema wrapper.

    A field definition of a secondary channel that shares a scale with another primary channel.
    For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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 : None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    FxError2c                    y r   r   r   s     r   r   zXError2.aggregate-H  r  r   r   c                    y r   r   r   s     r   r   zXError2.aggregate/H  r  r   r   c                    y r   r   r   s     r   r   zXError2.aggregate3H  r  r   c                    y r   r   r   s     r   r   zXError2.bandPosition7H  r  r   c                    y r   r   r   s     r   r   zXError2.bin9H  rU  r   c                    y r   r   r   s     r   r   zXError2.field;H  r  r   r   c                    y r   r   r   s     r   r   zXError2.field=H  r  r   c                    y r   r   r   s     r   ro  zXError2.timeUnitCH  r  r   rp  c                    y r   r   rt  s         r   ro  zXError2.timeUnitIH  r  r   c                    y r   r   r   s     r   r5  zXError2.titleSH  r  r   c                4    t        	|   d|||||||d| y r  r|  r  s
            r   r}  zXError2.__init__VH  r  r   )r   r  r   rx   )r   r  r   rx   )r   r  r   rx   )r   r  r   rx   )r   rw  r   rx   )r   r  r   rx   )r   r  r   rx   )r   r  r   rx   )r   r  r   r  r   r  rq  r  rr  r  r   rx   )r   r  r   rx   r  r  r   s   @r   rx   rx   G  r\  r   rx   c                  *     e Zd ZdZdZdZ fdZ xZS )ry   a  
    XError2Value schema wrapper.

    Definition object for a constant value (primitive value or gradient definition) of an
    encoding channel.

    Parameters
    ----------
    value : float
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  c                (    t        |   dd|i| y r  r|  r  s      r   r}  zXError2Value.__init__H  r  r   r  r   s   @r   ry   ry   oH  rd  r   ry   c                      e Zd ZdZdZdZedd       Zeed	 	 	 dd       Zeed	 	 	 d d       Zed!d	       Z	ed"d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d#d       Z
ed$d       Zeed	 	 	 d%d       Zed&d       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d'd       Ze	 	 	 	 d(d       Zeeeed	 	 	 	 	 	 	 d)d       Zeeed	 	 	 	 	 d*d       Ze	 	 	 	 d+d       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 d,d       Zed-d       Zed.d       Zeeeeeeeeeef
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d/ fdZ xZS )0r{   ak9  
    XOffset schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    FxOffsetc                    y r   r   r   s     r   r   zXOffset.aggregateVI  r  r   r   c                    y r   r   r   s     r   r   zXOffset.aggregateXI  r  r   r   c                    y r   r   r   s     r   r   zXOffset.aggregate\I  r  r   c                    y r   r   r   s     r   r   zXOffset.bandPosition`I  r  r   c                    y r   r   r   s     r   r   zXOffset.binbI  r  r   r   c       
             y r   r   r   s              r   r   zXOffset.bindI  r  r   c                    y r   r   r   s     r   r   zXOffset.fieldsI  r  r   r   c                    y r   r   r   s     r   r   zXOffset.fielduI  r  r   c                    y r   r   r   s     r   rI  zXOffset.scale{I  r  r   rJ  c                    y r   r   r`  s                            r   rI  zXOffset.scale}I  r  r   c                    y r   r   r   s     r   rc  zXOffset.sortI  r  r   re  c                    y r   r   ri  s       r   rc  zXOffset.sortI  r  r   rj  c                    y r   r   rm  s      r   rc  zXOffset.sortI  r  r   c                    y r   r   r   s     r   ro  zXOffset.timeUnitI  r  r   rp  c                    y r   r   rt  s         r   ro  zXOffset.timeUnitI  r  r   c                    y r   r   r   s     r   r5  zXOffset.titleI  r  r   c                    y r   r   r   s     r   r   zXOffset.typeI  r   r   c                :    t        |   d|||||||||	|
d
| y N)
r   r   r   r   r   rI  rc  ro  r5  r   r   r|  r   r   r   r   r   r   rI  rc  ro  r5  r   r   r   s               r   r}  zXOffset.__init__I  ?    2 	 	
%	
 	
r   )r   r  r   r{   )r   r  r   r{   )r   r  r   r{   )r   r  r   r{   )r   r  r   r{   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r{   )r   r  r   r{   )r   r  r   r{   )r   r  r   r{   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   r{   )r   r  r   r{   )r   r  rf  r  rg  r  r   r{   )rk  r  rg  r  r   r{   )r   r  r   r{   )r   r  r   r  r   r  rq  r  rr  r  r   r{   )r   r  r   r{   )r   r  r   r{   r   r  r   r  r   r  r   r  r   r  rI  r  rc  r  ro  r  r5  r  r   r  r   r   r   r  r  r   r	   r   r   r   r   r   rI  rc  ro  r5  r   r}  r   r   s   @r   r{   r{   H     IV (-$NB B6?3	  6?3	  7 7: : #, )!*,5KT#,#,( )+4   	
  * I ! !   ) 
  : : IR F 
	 
 7 7 AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b 		 
	 	  3<9B;D 0 7	
 9 
   <E;D	 9 9	
 
  Q 
	 
  "+#, )JS'  !	
  H  
  E E8 8 GPFO(18A2;3<  CL6?-%
C%
 D%
 &	%

 6%
 0%
 1%
	
%
$
%%
* A+%
, 4-%
 %
r   r{   c                  4    e Zd ZdZdZdZedd       Zedd       Zee	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	d	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Z
edd	       Ze	e	e	e	f	 	 	 	 	 	 	 d fd
Z xZS )r|   aS  
    XOffsetDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r   zXOffsetDatum.bandPosition{J  rq  r   c                    y r   r   r   s     r   rI  zXOffsetDatum.scale}J  rq  r   rJ  c                    y r   r   r`  s                            r   rI  zXOffsetDatum.scaleJ      b r   c                    y r   r   r   s     r   r5  zXOffsetDatum.titleJ  rZ  r   c                    y r   r   r   s     r   r   zXOffsetDatum.typeJ  r   r   c           	     0    t        |   d|||||d| y N)r   r   rI  r5  r   r   r|  r   r   r   rI  r5  r   r   r   s          r   r}  zXOffsetDatum.__init__J  0     	 	
%	
 	
r   )r   r  r   r|   )r   r  r   r|   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   r|   )r   r  r   r|   )r   r  r   r|   r   r  rI  r  r5  r  r   r  r   r   r   r  r  r   r	   r   rI  r   r5  r   r}  r   r   s   @r   r|   r|   J     n` (-$N< << < AJ?H=F?HCL  DM <ECL  BKGPGP IRIRAJ?HIR3<>G_0 >0 =	0
 ;0 =0 A0
0"
#0( B)0*
+00 :102 A304
50:
;0@ @A0B EC0D EE0F
G0R GS0T GU0V ?W0X =Y0Z G[0\ 1]0^ <_0` 
a0 0b J J5 5
 )23<CL.7
 &
 1	

 A
 ,
 
r   r|   c                  *     e Zd ZdZdZdZ fdZ xZS )r}   a  
    XOffsetValue schema wrapper.

    Definition object for a constant value (primitive value or gradient definition) of an
    encoding channel.

    Parameters
    ----------
    value : float
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  c                (    t        |   dd|i| y r  r|  r  s      r   r}  zXOffsetValue.__init__J  r  r   r  r   s   @r   r}   r}   J  rd  r   r}   c            P      L    e Zd ZdZdZdZed%d       Zeedd&d       Zeedd'd       Zed(d	       Z	eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed
N	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d)d       Z	ed*d       Z
ed+d       Zeeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d,d       Zed-d       Zeed	 	 	 d.d       Zed/d       Zeeeeed	 	 	 	 	 	 	 	 	 d0d       Zed1d       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d2d       Ze	 	 	 	 d3d       Zeeeed	 	 	 	 	 	 	 d4d       Zeeed	 	 	 	 	 d5d       Zed6d       Ze	 	 	 	 d7d       Zeeeeeed 	 	 	 	 	 	 	 	 	 	 	 d8d!       Zed9d"       Zed:d#       Zeeeeeeeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d; fd$Z xZS )<r   a*D  
    Y schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    axis : dict, :class:`Axis`, None
        An object defining properties of axis's gridlines, ticks and labels. If ``null``,
        the axis for the encoding channel will be removed.

        **Default value:** If undefined, default `axis properties
        <https://vega.github.io/vega-lite/docs/axis.html>`__ are applied.

        **See also:** `axis <https://vega.github.io/vega-lite/docs/axis.html>`__
        documentation.
    bandPosition : float
        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, Literal['binned'], :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    impute : dict, :class:`ImputeParams`, None
        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
        the ``Impute`` Operation.

        **See also:** `impute <https://vega.github.io/vega-lite/docs/impute.html>`__
        documentation.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        documentation.
    stack : bool, :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None
        Type of stacking offset if the field should be stacked. ``stack`` is only applicable
        for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For
        example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar
        chart.

        ``stack`` can be one of the following values:

        * ``"zero"`` or ``true``: stacking with baseline offset at zero value of the scale
          (for creating typical stacked `bar
          <https://vega.github.io/vega-lite/docs/stack.html#bar>`__ and `area
          <https://vega.github.io/vega-lite/docs/stack.html#area>`__ chart).
        * ``"normalize"`` - stacking with normalized domain (for creating `normalized
          stacked bar and area charts
          <https://vega.github.io/vega-lite/docs/stack.html#normalized>`__ and pie charts
          `with percentage tooltip
          <https://vega.github.io/vega-lite/docs/arc.html#tooltip>`__).
        * ``"center"`` - stacking with center baseline (for `streamgraph
          <https://vega.github.io/vega-lite/docs/stack.html#streamgraph>`__).
        * ``null`` or ``false`` - No-stacking. This will produce layered `bar
          <https://vega.github.io/vega-lite/docs/stack.html#layered-bar-chart>`__ and area
          chart.

        **Default value:** ``zero`` for plots with all of the following conditions are true:
        (1) the mark is ``bar``, ``area``, or ``arc``; (2) the stacked measure channel (x or
        y) has a linear scale; (3) At least one of non-position channels mapped to an
        unaggregated field that is different from x and y. Otherwise, ``null`` by default.

        **See also:** `stack <https://vega.github.io/vega-lite/docs/stack.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fyc                    y r   r   r   s     r   r   zY.aggregateK  rq  r   r   c                    y r   r   r   s     r   r   zY.aggregateK  r$  r   r   c                    y r   r   r   s     r   r   zY.aggregateK  r$  r   c                    y r   r   r   s     r   r'  zY.axisK  r*  r   r(  c       N             y r   r   rM  sO                                                                                  r   r'  zY.axisK  rN  r   c                    y r   r   r   s     r   r   zY.bandPosition\L  r>  r   c                    y r   r   r   s     r   r   zY.bin^L  r  r   r   c       
             y r   r   r   s              r   r   zY.bin`L  rR  r   c                    y r   r   r   s     r   r   zY.fieldoL  r  r   r   c                    y r   r   r   s     r   r   zY.fieldqL  rU  r   c                    y r   r   r   s     r   rW  zY.imputewL  r  r   rX  c                    y r   r   r]  s        r   rW  zY.imputeyL  r^  r   c                    y r   r   r   s     r   rI  zY.scaleL  r>  r   rJ  c                    y r   r   r`  s                            r   rI  zY.scaleL  ra  r   c                    y r   r   r   s     r   rc  zY.sortL  rc  r   re  c                    y r   r   ri  s       r   rc  zY.sortL  re  r   rj  c                    y r   r   rm  s      r   rc  zY.sortL  rg  r   c                    y r   r   r   s     r   r1  zY.stackL  r   r   c                    y r   r   r   s     r   ro  z
Y.timeUnitL  rU  r   rp  c                    y r   r   rt  s         r   ro  z
Y.timeUnitL  rk  r   c                    y r   r   r   s     r   r5  zY.titleL  r  r   c                    y r   r   r   s     r   r   zY.typeL  r  r   c                @    t        |   d|||||||||	|
|||d| y ro  r|  rp  s                  r   r}  z
Y.__init__L  rq  r   )r   r  r   r   )r   r  r   r   )r   r  r   r   )r   rr  r   r   )r  r  r   r  r	  r  rO  r  r)  rs  r*  r  r+  r  r,  r  r-  r  r.  r  r  r  r  r  r/  r  r0  rs  r1  r  r2  r  r3  r  r4  r  r5  r  r  r  r2  r  r  r  r6  rt  r  r  r  r  r7  ru  r8  r  r  r  r  r  r  r  r  r  r  r  r3  r  r  r  r  r  r  r  r   r  r!  r  r5  r  r9  r  r:  r  r$  r  r%  rv  r;  r  r<  rw  r=  rx  r>  rs  r?  r  r3  r  r@  r  rA  r  rB  r  r4  r  rC  r  rD  r  rE  r  rF  r  rG  r  rH  r  r5  r  r6  r  r7  r  r6  r  r8  r  r9  r  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  r@  r  rB  r  rI  r  rJ  r  rK  r  rC  r  rD  r  r   r   )r   r  r   r   )r   rv  r   r   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r   )r   r  r   r   )r   r  r   r   )r   ry  r   r   )
rY  rz  rZ  r{  r[  r|  r   r}  r   r   )r   r  r   r   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   r   )r   r  r   r   )r   r  rf  r  rg  r  r   r   )rk  r  rg  r  r   r   )r   r:  r   r   )r   r  r   r   )r   r  r   r  r   r  rq  r  rr  r  r   r   )r   r  r   r   )r   r  r   r   r~  r  r   s   @r   r   r   J  r  r   r   c            P          e Zd ZdZdZdZedd       ZeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedN	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Z	edd       Z
eeeeed		 	 	 	 	 	 	 	 	 dd
       Z
edd       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Zedd       Zedd       Zeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS )r   a#  
    YDatum schema wrapper.

    Parameters
    ----------
    axis : dict, :class:`Axis`, None
        An object defining properties of axis's gridlines, ticks and labels. If ``null``,
        the axis for the encoding channel will be removed.

        **Default value:** If undefined, default `axis properties
        <https://vega.github.io/vega-lite/docs/axis.html>`__ are applied.

        **See also:** `axis <https://vega.github.io/vega-lite/docs/axis.html>`__
        documentation.
    bandPosition : float
        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, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    impute : dict, :class:`ImputeParams`, None
        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
        the ``Impute`` Operation.

        **See also:** `impute <https://vega.github.io/vega-lite/docs/impute.html>`__
        documentation.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    stack : bool, :class:`StackOffset`, Literal['zero', 'center', 'normalize'], None
        Type of stacking offset if the field should be stacked. ``stack`` is only applicable
        for ``x``, ``y``, ``theta``, and ``radius`` channels with continuous domains. For
        example, ``stack`` of ``y`` can be used to customize stacking for a vertical bar
        chart.

        ``stack`` can be one of the following values:

        * ``"zero"`` or ``true``: stacking with baseline offset at zero value of the scale
          (for creating typical stacked `bar
          <https://vega.github.io/vega-lite/docs/stack.html#bar>`__ and `area
          <https://vega.github.io/vega-lite/docs/stack.html#area>`__ chart).
        * ``"normalize"`` - stacking with normalized domain (for creating `normalized
          stacked bar and area charts
          <https://vega.github.io/vega-lite/docs/stack.html#normalized>`__ and pie charts
          `with percentage tooltip
          <https://vega.github.io/vega-lite/docs/arc.html#tooltip>`__).
        * ``"center"`` - stacking with center baseline (for `streamgraph
          <https://vega.github.io/vega-lite/docs/stack.html#streamgraph>`__).
        * ``null`` or ``false`` - No-stacking. This will produce layered `bar
          <https://vega.github.io/vega-lite/docs/stack.html#layered-bar-chart>`__ and area
          chart.

        **Default value:** ``zero`` for plots with all of the following conditions are true:
        (1) the mark is ``bar``, ``area``, or ``arc``; (2) the stacked measure channel (x or
        y) has a linear scale; (3) At least one of non-position channels mapped to an
        unaggregated field that is different from x and y. Otherwise, ``null`` by default.

        **See also:** `stack <https://vega.github.io/vega-lite/docs/stack.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr  c                    y r   r   r   s     r   r'  zYDatum.axisM  r  r   r(  c       N             y r   r   rM  sO                                                                                  r   r'  zYDatum.axisM  r  r   c                    y r   r   r   s     r   r   zYDatum.bandPosition0N  ry  r   c                    y r   r   r   s     r   rW  zYDatum.impute2N  r   r   rX  c                    y r   r   r]  s        r   rW  zYDatum.impute4N  r  r   c                    y r   r   r   s     r   rI  zYDatum.scale=N  ry  r   rJ  c                    y r   r   r`  s                            r   rI  zYDatum.scale?N  r*  r   c                    y r   r   r   s     r   r1  zYDatum.stackqN  r  r   c                    y r   r   r   s     r   r5  zYDatum.titlesN  rC  r   c                    y r   r   r   s     r   r   zYDatum.typeuN  r*  r   c	                6    t        
|   d||||||||d|	 y r  r|  r  s             r   r}  zYDatum.__init__xN  r  r   )r   rr  r   r   )r  r  r   r  r	  r  rO  r  r)  rs  r*  r  r+  r  r,  r  r-  r  r.  r  r  r  r  r  r/  r  r0  rs  r1  r  r2  r  r3  r  r4  r  r5  r  r  r  r2  r  r  r  r6  rt  r  r  r  r  r7  ru  r8  r  r  r  r  r  r  r  r  r  r  r  r3  r  r  r  r  r  r  r  r   r  r!  r  r5  r  r9  r  r:  r  r$  r  r%  rv  r;  r  r<  rw  r=  rx  r>  rs  r?  r  r3  r  r@  r  rA  r  rB  r  r4  r  rC  r  rD  r  rE  r  rF  r  rG  r  rH  r  r5  r  r6  r  r7  r  r6  r  r8  r  r9  r  r:  r  r;  r  r<  r  r=  r  r>  r  r?  r  r@  r  rB  r  rI  r  rJ  r  rK  r  rC  r  rD  r  r   r   )r   r  r   r   )r   ry  r   r   )
rY  rz  rZ  r{  r[  r|  r   r}  r   r   )r   r  r   r   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   r   )r   r:  r   r   )r   r  r   r   )r   r  r   r   r  r  r   s   @r   r   r   M  r  r   r   c                  *     e Zd ZdZdZdZ fdZ xZS )r   a  
    YValue schema wrapper.

    Definition object for a constant value (primitive value or gradient definition) of an
    encoding channel.

    Parameters
    ----------
    value : dict, float, :class:`ExprRef`, Literal['height', 'width']
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr  c                (    t        |   dd|i| y r  r|  r  s      r   r}  zYValue.__init__N  r  r   r  r   s   @r   r   r   N  r  r   r   c                  N    e Zd ZdZdZdZedd       Zeeddd       Zeeddd       Zedd	       Z	edd
       Z
edd       Zeed	 	 	 dd       Ze	 	 	 	 dd       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Zeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS )r&   a  
    Y2 schema wrapper.

    A field definition of a secondary channel that shares a scale with another primary channel.
    For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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 : None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    Fy2c                    y r   r   r   s     r   r   zY2.aggregateO  r  r   r   c                    y r   r   r   s     r   r   zY2.aggregateO  r  r   r   c                    y r   r   r   s     r   r   zY2.aggregate
O  r  r   c                    y r   r   r   s     r   r   zY2.bandPositionO  r  r   c                    y r   r   r   s     r   r   zY2.binO  r  r   c                    y r   r   r   s     r   r   zY2.fieldO  r   r   r   c                    y r   r   r   s     r   r   zY2.fieldO  r  r   c                    y r   r   r   s     r   ro  zY2.timeUnitO  r  r   rp  c                    y r   r   rt  s         r   ro  zY2.timeUnitO  r  r   c                    y r   r   r   s     r   r5  zY2.title(O  r   r   c                4    t        	|   d|||||||d| y r  r|  r  s
            r   r}  zY2.__init__+O  r  r   )r   r  r   r&   )r   r  r   r&   )r   r  r   r&   )r   r  r   r&   )r   rw  r   r&   )r   r  r   r&   )r   r  r   r&   )r   r  r   r&   )r   r  r   r  r   r  rq  r  rr  r  r   r&   )r   r  r   r&   r  r  r   s   @r   r&   r&   N  r  r   r&   c                  t     e Zd ZdZdZdZedd       Zed	d       Zed
d       Z	e
e
e
f	 	 	 	 	 d fdZ xZS )r   a  
    Y2Datum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    Fr"  c                    y r   r   r   s     r   r   zY2Datum.bandPositionO  r  r   c                    y r   r   r   s     r   r5  zY2Datum.titleO  r  r   c                    y r   r   r   s     r   r   zY2Datum.typeO  r  r   c                .    t        |   d||||d| y r  r|  r  s         r   r}  zY2Datum.__init__O  r  r   )r   r  r   r   )r   r  r   r   )r   r  r   r   r  r  r   s   @r   r   r   DO  r  r   r   c                  *     e Zd ZdZdZdZ fdZ xZS )r   a  
    Y2Value schema wrapper.

    Definition object for a constant value (primitive value or gradient definition) of an
    encoding channel.

    Parameters
    ----------
    value : dict, float, :class:`ExprRef`, Literal['height', 'width']
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr"  c                (    t        |   dd|i| y r  r|  r  s      r   r}  zY2Value.__init__O  r  r   r  r   s   @r   r   r   O  r  r   r   c                  Z    e Zd ZdZdZdZedd       Zeed	 	 	 dd       Zeed	 	 	 dd       Zedd	       Z	edd
       Z
edd       Zeed	 	 	 dd       Ze	 	 	 	 dd       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Zeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS )r   a!  
    YError schema wrapper.

    A field definition of a secondary channel that shares a scale with another primary channel.
    For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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 : None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    FyErrorc                    y r   r   r   s     r   r   zYError.aggregate5P  r  r   r   c                    y r   r   r   s     r   r   zYError.aggregate7P  r   r   r   c                    y r   r   r   s     r   r   zYError.aggregate;P  r   r   c                    y r   r   r   s     r   r   zYError.bandPosition?P  ry  r   c                    y r   r   r   s     r   r   z
YError.binAP  rA  r   c                    y r   r   r   s     r   r   zYError.fieldCP  r%  r   r   c                    y r   r   r   s     r   r   zYError.fieldEP  r-  r   c                    y r   r   r   s     r   ro  zYError.timeUnitKP  r-  r   rp  c                    y r   r   rt  s         r   ro  zYError.timeUnitQP  rA  r   c                    y r   r   r   s     r   r5  zYError.title[P  rC  r   c                4    t        	|   d|||||||d| y r  r|  r  s
            r   r}  zYError.__init__^P  r  r   )r   r  r   r   )r   r  r   r   )r   r  r   r   )r   r  r   r   )r   rw  r   r   )r   r  r   r   )r   r  r   r   )r   r  r   r   )r   r  r   r  r   r  rq  r  rr  r  r   r   )r   r  r   r   r  r  r   s   @r   r   r   O  r  r   r   c                  *     e Zd ZdZdZdZ fdZ xZS )r   a  
    YErrorValue schema wrapper.

    Definition object for a constant value (primitive value or gradient definition) of an
    encoding channel.

    Parameters
    ----------
    value : float
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    Fr6  c                (    t        |   dd|i| y r  r|  r  s      r   r}  zYErrorValue.__init__P  r  r   r  r   s   @r   r   r   wP  rM  r   r   c                  Z    e Zd ZdZdZdZedd       Zeed	 	 	 dd       Zeed	 	 	 dd       Zedd	       Z	edd
       Z
edd       Zeed	 	 	 dd       Ze	 	 	 	 dd       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Zeeeeeeef	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS )r   a"  
    YError2 schema wrapper.

    A field definition of a secondary channel that shares a scale with another primary channel.
    For example, ``x2``, ``xError`` and ``xError2`` share the same scale with ``x``.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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 : None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    FyError2c                    y r   r   r   s     r   r   zYError2.aggregateP  r  r   r   c                    y r   r   r   s     r   r   zYError2.aggregateP  r  r   r   c                    y r   r   r   s     r   r   zYError2.aggregateP  r  r   c                    y r   r   r   s     r   r   zYError2.bandPositionP  r  r   c                    y r   r   r   s     r   r   zYError2.binP  rU  r   c                    y r   r   r   s     r   r   zYError2.fieldP  r  r   r   c                    y r   r   r   s     r   r   zYError2.fieldP  r  r   c                    y r   r   r   s     r   ro  zYError2.timeUnitQ  r  r   rp  c                    y r   r   rt  s         r   ro  zYError2.timeUnitQ  r  r   c                    y r   r   r   s     r   r5  zYError2.titleQ  r  r   c                4    t        	|   d|||||||d| y r  r|  r  s
            r   r}  zYError2.__init__Q  r  r   )r   r  r   r   )r   r  r   r   )r   r  r   r   )r   r  r   r   )r   rw  r   r   )r   r  r   r   )r   r  r   r   )r   r  r   r   )r   r  r   r  r   r  rq  r  rr  r  r   r   )r   r  r   r   r  r  r   s   @r   r   r   P  r\  r   r   c                  *     e Zd ZdZdZdZ fdZ xZS )r   a  
    YError2Value schema wrapper.

    Definition object for a constant value (primitive value or gradient definition) of an
    encoding channel.

    Parameters
    ----------
    value : float
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    FrE  c                (    t        |   dd|i| y r  r|  r  s      r   r}  zYError2Value.__init__AQ  r  r   r  r   s   @r   r   r   .Q  rd  r   r   c                      e Zd ZdZdZdZedd       Zeed	 	 	 dd       Zeed	 	 	 d d       Zed!d	       Z	ed"d
       Z
eeeeeeeeeeed
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d#d       Z
ed$d       Zeed	 	 	 d%d       Zed&d       Zeeeeeeeeeeeeeeeeeeeeeeeeed	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d'd       Ze	 	 	 	 d(d       Zeeeed	 	 	 	 	 	 	 d)d       Zeeed	 	 	 	 	 d*d       Ze	 	 	 	 d+d       Zeeeeeed	 	 	 	 	 	 	 	 	 	 	 d,d       Zed-d       Zed.d       Zeeeeeeeeeef
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d/ fdZ xZS )0r   ak9  
    YOffset schema wrapper.

    Parameters
    ----------
    shorthand : str, dict, 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']
        Aggregation function for the field (e.g., ``"mean"``, ``"sum"``, ``"median"``,
        ``"min"``, ``"max"``, ``"count"``).

        **Default value:** ``undefined`` (None)

        **See also:** `aggregate <https://vega.github.io/vega-lite/docs/aggregate.html>`__
        documentation.
    bandPosition : float
        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, :class:`BinParams`, None
        A flag for binning a ``quantitative`` field, `an object defining binning parameters
        <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__, or indicating
        that the data for ``x`` or ``y`` channel are binned before they are imported into
        Vega-Lite (``"binned"``).

        * If ``true``, default `binning parameters
          <https://vega.github.io/vega-lite/docs/bin.html#bin-parameters>`__ will be
          applied.

        * If ``"binned"``, this indicates that the data for the ``x`` (or ``y``) channel are
          already binned. You can map the bin-start field to ``x`` (or ``y``) and the
          bin-end field to ``x2`` (or ``y2``). The scale and axis will be formatted similar
          to binning in Vega-Lite.  To adjust the axis ticks based on the bin step, you can
          also set the axis's `tickMinStep
          <https://vega.github.io/vega-lite/docs/axis.html#ticks>`__ property.

        **Default value:** ``false``

        **See also:** `bin <https://vega.github.io/vega-lite/docs/bin.html>`__
        documentation.
    field : str, dict, :class:`Field`, :class:`FieldName`, :class:`RepeatRef`
        **Required.** A string defining the name of the field from which to pull a data
        value or an object defining iterated values from the `repeat
        <https://vega.github.io/vega-lite/docs/repeat.html>`__ operator.

        **See also:** `field <https://vega.github.io/vega-lite/docs/field.html>`__
        documentation.

        **Notes:** 1)  Dots (``.``) and brackets (``[`` and ``]``) can be used to access
        nested objects (e.g., ``"field": "foo.bar"`` and ``"field": "foo['bar']"``). If
        field names contain dots or brackets but are not nested, you can use ``\\`` to
        escape dots and brackets (e.g., ``"a\\.b"`` and ``"a\\[0\\]"``). See more details
        about escaping in the `field documentation
        <https://vega.github.io/vega-lite/docs/field.html>`__. 2) ``field`` is not required
        if ``aggregate`` is ``count``.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    sort : dict, :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'], None
        Sort order for the encoded field.

        For continuous fields (quantitative or temporal), ``sort`` can be either
        ``"ascending"`` or ``"descending"``.

        For discrete fields, ``sort`` can be one of the following:

        * ``"ascending"`` or ``"descending"`` -- for sorting by the values' natural order in
          JavaScript.
        * `A string indicating an encoding channel name to sort by
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__ (e.g.,
          ``"x"`` or ``"y"``) with an optional minus prefix for descending sort (e.g.,
          ``"-x"`` to sort by x-field, descending). This channel string is short-form of `a
          sort-by-encoding definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-by-encoding>`__. For
          example, ``"sort": "-x"`` is equivalent to ``"sort": {"encoding": "x", "order":
          "descending"}``.
        * `A sort field definition
          <https://vega.github.io/vega-lite/docs/sort.html#sort-field>`__ for sorting by
          another field.
        * `An array specifying the field values in preferred order
          <https://vega.github.io/vega-lite/docs/sort.html#sort-array>`__. In this case, the
          sort order will obey the values in the array, followed by any unspecified values
          in their original order. For discrete time field, values in the sort array can be
          `date-time definition objects
          <https://vega.github.io/vega-lite/docs/datetime.html>`__. In addition, for time
          units ``"month"`` and ``"day"``, the values can be the month or day names (case
          insensitive) or their 3-letter initials (e.g., ``"Mon"``, ``"Tue"``).
        * ``null`` indicating no sort.

        **Default value:** ``"ascending"``

        **Note:** ``null`` and sorting by another channel is not supported for ``row`` and
        ``column``.

        **See also:** `sort <https://vega.github.io/vega-lite/docs/sort.html>`__
        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']
        Time unit (e.g., ``year``, ``yearmonth``, ``month``, ``hours``) for a temporal
        field. or `a temporal field that gets casted as ordinal
        <https://vega.github.io/vega-lite/docs/type.html#cast>`__.

        **Default value:** ``undefined`` (None)

        **See also:** `timeUnit <https://vega.github.io/vega-lite/docs/timeunit.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`StandardType`, Literal['quantitative', 'ordinal', 'temporal', 'nominal']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    FyOffsetc                    y r   r   r   s     r   r   zYOffset.aggregateR  r  r   r   c                    y r   r   r   s     r   r   zYOffset.aggregateR  r  r   r   c                    y r   r   r   s     r   r   zYOffset.aggregateR  r  r   c                    y r   r   r   s     r   r   zYOffset.bandPositionR  r  r   c                    y r   r   r   s     r   r   zYOffset.bin!R  r  r   r   c       
             y r   r   r   s              r   r   zYOffset.bin#R  r  r   c                    y r   r   r   s     r   r   zYOffset.field2R  r  r   r   c                    y r   r   r   s     r   r   zYOffset.field4R  r  r   c                    y r   r   r   s     r   rI  zYOffset.scale:R  r  r   rJ  c                    y r   r   r`  s                            r   rI  zYOffset.scale<R  r  r   c                    y r   r   r   s     r   rc  zYOffset.sortnR  r  r   re  c                    y r   r   ri  s       r   rc  zYOffset.sortyR  r  r   rj  c                    y r   r   rm  s      r   rc  zYOffset.sortR  r  r   c                    y r   r   r   s     r   ro  zYOffset.timeUnitR  r  r   rp  c                    y r   r   rt  s         r   ro  zYOffset.timeUnitR  r  r   c                    y r   r   r   s     r   r5  zYOffset.titleR  r  r   c                    y r   r   r   s     r   r   zYOffset.typeR  r   r   c                :    t        |   d|||||||||	|
d
| y r  r|  r  s               r   r}  zYOffset.__init__R  r  r   )r   r  r   r   )r   r  r   r   )r   r  r   r   )r   r  r   r   )r   r  r   r   )r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r  r   r   )r   r  r   r   )r   r  r   r   )r   r  r   r   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   r   )r   r  r   r   )r   r  rf  r  rg  r  r   r   )rk  r  rg  r  r   r   )r   r  r   r   )r   r  r   r  r   r  rq  r  rr  r  r   r   )r   r  r   r   )r   r  r   r   r  r  r   s   @r   r   r   EQ  r  r   r   c                  4    e Zd ZdZdZdZedd       Zedd       Zee	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	e	d	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd       Zedd       Z
edd	       Ze	e	e	e	f	 	 	 	 	 	 	 d fd
Z xZS )r   aS  
    YOffsetDatum schema wrapper.

    Parameters
    ----------
    bandPosition : float
        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, float, :class:`ExprRef`, :class:`DateTime`, :class:`RepeatRef`, :class:`PrimitiveValue`, None
        A constant value in data domain.
    scale : dict, :class:`Scale`, None
        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.

        If ``null``, the scale will be `disabled and the data value will be directly encoded
        <https://vega.github.io/vega-lite/docs/scale.html#disable>`__.

        **Default value:** If undefined, default `scale properties
        <https://vega.github.io/vega-lite/docs/scale.html>`__ are applied.

        **See also:** `scale <https://vega.github.io/vega-lite/docs/scale.html>`__
        documentation.
    title : str, :class:`Text`, Sequence[str], None
        A title for the field. If ``null``, the title will be removed.

        **Default value:**  derived from the field's name and transformation function
        (``aggregate``, ``bin`` and ``timeUnit``). If the field has an aggregate function,
        the function is displayed as part of the title (e.g., ``"Sum of Profit"``). If the
        field is binned or has a time unit applied, the applied function is shown in
        parentheses (e.g., ``"Profit (binned)"``, ``"Transaction Date (year-month)"``).
        Otherwise, the title is simply the field name.

        **Notes**:

        1) You can customize the default field title format by providing the `fieldTitle
        <https://vega.github.io/vega-lite/docs/config.html#top-level-config>`__ property in
        the `config <https://vega.github.io/vega-lite/docs/config.html>`__ or `fieldTitle
        function via the compile function's options
        <https://vega.github.io/vega-lite/usage/compile.html#field-title>`__.

        2) If both field definition's ``title`` and axis, header, or legend ``title`` are
        defined, axis/header/legend title will be used.
    type : :class:`Type`, Literal['quantitative', 'ordinal', 'temporal', 'nominal', 'geojson']
        The type of measurement (``"quantitative"``, ``"temporal"``, ``"ordinal"``, or
        ``"nominal"``) for the encoded field or constant value (``datum``). It can also be a
        ``"geojson"`` type for encoding `'geoshape'
        <https://vega.github.io/vega-lite/docs/geoshape.html>`__.

        Vega-Lite automatically infers data types in many cases as discussed below. However,
        type is required for a field if: (1) the field is not nominal and the field encoding
        has no specified ``aggregate`` (except ``argmin`` and ``argmax``), ``bin``, scale
        type, custom ``sort`` order, nor ``timeUnit`` or (2) if you wish to use an ordinal
        scale for a field with ``bin`` or ``timeUnit``.

        **Default value:**

        1) For a data ``field``, ``"nominal"`` is the default data type unless the field
        encoding has ``aggregate``, ``channel``, ``bin``, scale type, ``sort``, or
        ``timeUnit`` that satisfies the following criteria:

        * ``"quantitative"`` is the default type if (1) the encoded field contains ``bin``
          or ``aggregate`` except ``"argmin"`` and ``"argmax"``, (2) the encoding channel is
          ``latitude`` or ``longitude`` channel or (3) if the specified scale type is `a
          quantitative scale <https://vega.github.io/vega-lite/docs/scale.html#type>`__.
        * ``"temporal"`` is the default type if (1) the encoded field contains ``timeUnit``
          or (2) the specified scale type is a time or utc scale
        * ``"ordinal"`` is the default type if (1) the encoded field contains a `custom sort
          order
          <https://vega.github.io/vega-lite/docs/sort.html#specifying-custom-sort-order>`__,
          (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding
          channel is ``order``.

        2) For a constant value in data domain (``datum``):

        * ``"quantitative"`` if the datum is a number
        * ``"nominal"`` if the datum is a string
        * ``"temporal"`` if the datum is `a date time object
          <https://vega.github.io/vega-lite/docs/datetime.html>`__

        **Note:**

        * Data ``type`` describes the semantics of the data rather than the primitive data
          types (number, string, etc.). The same primitive data type can have different
          types of measurement. For example, numeric data can represent quantitative,
          ordinal, or nominal data.
        * Data values for a temporal field can be either a date-time string (e.g.,
          ``"2015-03-07 12:32:17"``, ``"17:01"``, ``"2015-03-16"``. ``"2015"``) or a
          timestamp number (e.g., ``1552199579097``).
        * When using with `bin <https://vega.github.io/vega-lite/docs/bin.html>`__, the
          ``type`` property can be either ``"quantitative"`` (for using a linear bin scale)
          or `"ordinal" (for using an ordinal bin scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `timeUnit
          <https://vega.github.io/vega-lite/docs/timeunit.html>`__, the ``type`` property
          can be either ``"temporal"`` (default, for using a temporal scale) or `"ordinal"
          (for using an ordinal scale)
          <https://vega.github.io/vega-lite/docs/type.html#cast-bin>`__.
        * When using with `aggregate
          <https://vega.github.io/vega-lite/docs/aggregate.html>`__, the ``type`` property
          refers to the post-aggregation data type. For example, we can calculate count
          ``distinct`` of a categorical field ``"cat"`` using ``{"aggregate": "distinct",
          "field": "cat"}``. The ``"type"`` of the aggregate output is ``"quantitative"``.
        * Secondary channels (e.g., ``x2``, ``y2``, ``xError``, ``yError``) do not have
          ``type`` as they must have exactly the same type as their primary channels (e.g.,
          ``x``, ``y``).

        **See also:** `type <https://vega.github.io/vega-lite/docs/type.html>`__
        documentation.
    FrT  c                    y r   r   r   s     r   r   zYOffsetDatum.bandPosition:S  rq  r   c                    y r   r   r   s     r   rI  zYOffsetDatum.scale<S  rq  r   rJ  c                    y r   r   r`  s                            r   rI  zYOffsetDatum.scale>S  r  r   c                    y r   r   r   s     r   r5  zYOffsetDatum.titlepS  rZ  r   c                    y r   r   r   s     r   r   zYOffsetDatum.typerS  r   r   c           	     0    t        |   d|||||d| y r  r|  r  s          r   r}  zYOffsetDatum.__init__uS  r  r   )r   r  r   r   )r   r  r   r   )2rK  r  r   r  rL  r  rM  r  rN  r  rO  r  rP  r  rQ  r  rR  r  rS  r  rT  r  rU  r  r   r  r&  r  rV  r  rW  r  rX  r  rY  r  rZ  r  r[  r  r\  r  r]  r  r   r  r^  r  r   r   )r   r  r   r   )r   r  r   r   r  r  r   s   @r   r   r   R  r  r   r   c                  *     e Zd ZdZdZdZ fdZ xZS )r   a  
    YOffsetValue schema wrapper.

    Definition object for a constant value (primitive value or gradient definition) of an
    encoding channel.

    Parameters
    ----------
    value : float
        A constant value in visual domain (e.g., ``"red"`` / ``"#0099ff"`` / `gradient
        definition <https://vega.github.io/vega-lite/docs/types.html#gradient>`__ for color,
        values between ``0`` to ``1`` for opacity).
    FrT  c                (    t        |   dd|i| y r  r|  r  s      r   r}  zYOffsetValue.__init__S  r  r   r  r   s   @r   r   r   S  rd  r   r   r   AnyAngleAnyColorAnyDescriptionAnyFillAnyFillOpacityAnyHrefAnyLatitudeAnyLatitude2AnyLongitudeAnyLongitude2
AnyOpacityAnyOrder	AnyRadius
AnyRadius2AnyShapeAnySize	AnyStrokeAnyStrokeDashAnyStrokeOpacityAnyStrokeWidthAnyTextAnyTheta	AnyTheta2
AnyTooltipAnyUrlAnyXAnyX2	AnyXError
AnyXError2
AnyXOffsetAnyYAnyY2	AnyYError
AnyYError2
AnyYOffsetr   ChannelAngleChannelColorChannelColumnChannelDescriptionChannelDetailChannelFacetChannelFillChannelFillOpacityChannelHref
ChannelKeyChannelLatitudeChannelLatitude2ChannelLongitudeChannelLongitude2ChannelOpacityChannelOrderChannelRadiusChannelRadius2
ChannelRowChannelShapeChannelSizeChannelStrokeChannelStrokeDashChannelStrokeOpacityChannelStrokeWidthChannelTextChannelThetaChannelTheta2ChannelTooltip
ChannelUrlChannelX	ChannelX2ChannelXErrorChannelXError2ChannelXOffsetChannelY	ChannelY2ChannelYErrorChannelYError2ChannelYOffsetc            )         e Zd Zeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed(	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 ddZy)_EncodingMixin)(r   r  r  r	  r  r  r  r  r3  rS  rg  r  r  r  r  rg  r  rO  r  r|  r  r  r  r+  r\  r  r  r  r  r  r!  r  r  r  r  r  r"  r6  rE  rT  c       (           i d|d|d|d|d|d|d|d|d	|	d
|
d|d|d|d|d|d|d|i d|d|d|d|d|d|d|d|d|d|d|d|d|d|d | d!|!d"|"|#|$|%|&|'|(d#}*|)r,|*j                         D +,ci c]  \  }+},|,t        us|+|, }*}+},t        |)|*      }*| j                  d$g%      }-|-j	                  d$i       }.t        |.t        j                        r6|.j                  j                         D +,ci c]  \  }+},|,t        us|+|, }.}+},|.j                  |*       t        j                  d&i |.|-_        |-S c c},}+w c c},}+w )'u0  
        Map properties of the data to visual properties of the chart (see :class:`FacetedEncoding`).

        Parameters
        ----------
        angle : str, :class:`Angle`, Dict, :class:`AngleDatum`, :class:`AngleValue`
            Rotation angle of point and text marks.
        color : str, :class:`Color`, Dict, :class:`ColorDatum`, :class:`ColorValue`
            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"`` / stroke color for ``"line"`` and ``"point"``.

            **Default value:** If undefined, the default color depends on `mark config
            <https://vega.github.io/vega-lite/docs/config.html#mark-config>`__'s
            ``color`` property.

            *Note:* 1) For fine-grained control over both fill and stroke colors of the
            marks, please use the ``fill`` and ``stroke`` channels. The ``fill`` or
            ``stroke`` encodings have higher precedence than ``color``, thus may
            override the ``color`` encoding if conflicting encodings are specified. 2)
            See the scale documentation for more information about customizing `color
            scheme <https://vega.github.io/vega-lite/docs/scale.html#scheme>`__.
        column : str, :class:`Column`, Dict
            A field definition for the horizontal facet of trellis plots.
        description : str, :class:`Description`, Dict, :class:`DescriptionValue`
            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 : str, :class:`Detail`, Dict, List
            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 : str, :class:`Facet`, Dict
            A field definition for the (flexible) facet of trellis plots.

            If either ``row`` or ``column`` is specified, this channel will be ignored.
        fill : str, :class:`Fill`, Dict, :class:`FillDatum`, :class:`FillValue`
            Fill color of the marks. **Default value:** If undefined, the default color
            depends on `mark config
            <https://vega.github.io/vega-lite/docs/config.html#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 : str, :class:`FillOpacity`, Dict, :class:`FillOpacityDatum`, :class:`FillOpacityValue`
            Fill opacity of the marks.

            **Default value:** If undefined, the default opacity depends on `mark config
            <https://vega.github.io/vega-lite/docs/config.html#mark-config>`__'s
            ``fillOpacity`` property.
        href : str, :class:`Href`, Dict, :class:`HrefValue`
            A URL to load upon mouse click.
        key : str, :class:`Key`, Dict
            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 : str, :class:`Latitude`, Dict, :class:`LatitudeDatum`
            Latitude position of geographically projected marks.
        latitude2 : str, :class:`Latitude2`, Dict, :class:`Latitude2Datum`, :class:`Latitude2Value`
            Latitude-2 position for geographically projected ranged ``"area"``,
            ``"bar"``, ``"rect"``, and  ``"rule"``.
        longitude : str, :class:`Longitude`, Dict, :class:`LongitudeDatum`
            Longitude position of geographically projected marks.
        longitude2 : str, :class:`Longitude2`, Dict, :class:`Longitude2Datum`, :class:`Longitude2Value`
            Longitude-2 position for geographically projected ranged ``"area"``,
            ``"bar"``, ``"rect"``, and  ``"rule"``.
        opacity : str, :class:`Opacity`, Dict, :class:`OpacityDatum`, :class:`OpacityValue`
            Opacity of the marks.

            **Default value:** If undefined, the default opacity depends on `mark config
            <https://vega.github.io/vega-lite/docs/config.html#mark-config>`__'s
            ``opacity`` property.
        order : str, :class:`Order`, Dict, List, :class:`OrderValue`
            Order of the marks.

            * For stacked marks, this ``order`` channel encodes `stack order
              <https://vega.github.io/vega-lite/docs/stack.html#order>`__.
            * For line and trail marks, this ``order`` channel encodes order of data
              points in the lines. This can be useful for creating `a connected
              scatterplot
              <https://vega.github.io/vega-lite/examples/connected_scatterplot.html>`__.
              Setting ``order`` to ``{"value": null}`` makes the line marks use the
              original order in the data sources.
            * Otherwise, this ``order`` channel encodes layer order of the marks.

            **Note**: In aggregate plots, ``order`` field should be ``aggregate``d to
            avoid creating additional aggregation grouping.
        radius : str, :class:`Radius`, Dict, :class:`RadiusDatum`, :class:`RadiusValue`
            The outer radius in pixels of arc marks.
        radius2 : str, :class:`Radius2`, Dict, :class:`Radius2Datum`, :class:`Radius2Value`
            The inner radius in pixels of arc marks.
        row : str, :class:`Row`, Dict
            A field definition for the vertical facet of trellis plots.
        shape : str, :class:`Shape`, Dict, :class:`ShapeDatum`, :class:`ShapeValue`
            Shape of the mark.

            1. For ``point`` marks the supported values include:   - plotting shapes:
            ``"circle"``, ``"square"``, ``"cross"``, ``"diamond"``, ``"triangle-up"``,
            ``"triangle-down"``, ``"triangle-right"``, or ``"triangle-left"``.   - the
            line symbol ``"stroke"``   - centered directional shapes ``"arrow"``,
            ``"wedge"``, or ``"triangle"``   - a custom `SVG path string
            <https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths>`__ (For
            correct sizing, custom shape paths should be defined within a square
            bounding box with coordinates ranging from -1 to 1 along both the x and y
            dimensions.)

            2. For ``geoshape`` marks it should be a field definition of the geojson
            data

            **Default value:** If undefined, the default shape depends on `mark config
            <https://vega.github.io/vega-lite/docs/config.html#point-config>`__'s
            ``shape`` property. (``"circle"`` if unset.)
        size : str, :class:`Size`, Dict, :class:`SizeDatum`, :class:`SizeValue`
            Size of the mark.

            * For ``"point"``, ``"square"`` and ``"circle"``, - the symbol size, or
              pixel area of the mark.
            * For ``"bar"`` and ``"tick"`` - the bar and tick's size.
            * For ``"text"`` - the text's font size.
            * Size is unsupported for ``"line"``, ``"area"``, and ``"rect"``. (Use
              ``"trail"`` instead of line with varying size)
        stroke : str, :class:`Stroke`, Dict, :class:`StrokeDatum`, :class:`StrokeValue`
            Stroke color of the marks. **Default value:** If undefined, the default
            color depends on `mark config
            <https://vega.github.io/vega-lite/docs/config.html#mark-config>`__'s
            ``color`` property.

            *Note:* The ``stroke`` encoding has higher precedence than ``color``, thus
            may override the ``color`` encoding if conflicting encodings are specified.
        strokeDash : str, :class:`StrokeDash`, Dict, :class:`StrokeDashDatum`, :class:`StrokeDashValue`
            Stroke dash of the marks.

            **Default value:** ``[1,0]`` (No dash).
        strokeOpacity : str, :class:`StrokeOpacity`, Dict, :class:`StrokeOpacityDatum`, :class:`StrokeOpacityValue`
            Stroke opacity of the marks.

            **Default value:** If undefined, the default opacity depends on `mark config
            <https://vega.github.io/vega-lite/docs/config.html#mark-config>`__'s
            ``strokeOpacity`` property.
        strokeWidth : str, :class:`StrokeWidth`, Dict, :class:`StrokeWidthDatum`, :class:`StrokeWidthValue`
            Stroke width of the marks.

            **Default value:** If undefined, the default stroke width depends on `mark
            config <https://vega.github.io/vega-lite/docs/config.html#mark-config>`__'s
            ``strokeWidth`` property.
        text : str, :class:`Text`, Dict, :class:`TextDatum`, :class:`TextValue`
            Text of the ``text`` mark.
        theta : str, :class:`Theta`, Dict, :class:`ThetaDatum`, :class:`ThetaValue`
            * 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 : str, :class:`Theta2`, Dict, :class:`Theta2Datum`, :class:`Theta2Value`
            The end angle of arc marks in radians. A value of 0 indicates up or “north”,
            increasing values proceed clockwise.
        tooltip : str, :class:`Tooltip`, Dict, List, :class:`TooltipValue`
            The tooltip text to show upon mouse hover. Specifying ``tooltip`` encoding
            overrides `the tooltip property in the mark definition
            <https://vega.github.io/vega-lite/docs/mark.html#mark-def>`__.

            See the `tooltip <https://vega.github.io/vega-lite/docs/tooltip.html>`__
            documentation for a detailed discussion about tooltip in Vega-Lite.
        url : str, :class:`Url`, Dict, :class:`UrlValue`
            The URL of an image mark.
        x : str, :class:`X`, Dict, :class:`XDatum`, :class:`XValue`
            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 : str, :class:`X2`, Dict, :class:`X2Datum`, :class:`X2Value`
            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 : str, :class:`XError`, Dict, :class:`XErrorValue`
            Error value of x coordinates for error specified ``"errorbar"`` and
            ``"errorband"``.
        xError2 : str, :class:`XError2`, Dict, :class:`XError2Value`
            Secondary error value of x coordinates for error specified ``"errorbar"``
            and ``"errorband"``.
        xOffset : str, :class:`XOffset`, Dict, :class:`XOffsetDatum`, :class:`XOffsetValue`
            Offset of x-position of the marks
        y : str, :class:`Y`, Dict, :class:`YDatum`, :class:`YValue`
            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 : str, :class:`Y2`, Dict, :class:`Y2Datum`, :class:`Y2Value`
            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 : str, :class:`YError`, Dict, :class:`YErrorValue`
            Error value of y coordinates for error specified ``"errorbar"`` and
            ``"errorband"``.
        yError2 : str, :class:`YError2`, Dict, :class:`YError2Value`
            Secondary error value of y coordinates for error specified ``"errorbar"``
            and ``"errorband"``.
        yOffset : str, :class:`YOffset`, Dict, :class:`YOffsetDatum`, :class:`YOffsetValue`
            Offset of y-position of the marks
        r   r  r  r	  r  r  r  r  r3  rS  rg  r  r  r  r  rg  r  rO  r  r|  r  r  r  r+  r\  r  r  r  r  r  r!  r  r  r  )r  r  r"  r6  rE  rT  rk  r   r   )itemsr   _infer_encoding_typesr   r   r   r   VegaLiteSchemar   r   FacetedEncodingrk  )/r   r   r  r  r	  r  r  r  r  r3  rS  rg  r  r  r  r  rg  r  rO  r  r|  r  r  r  r+  r\  r  r  r  r  r  r!  r  r  r  r  r  r"  r6  rE  rT  argskwargskvr   rk  s/                                                  r   encodez_EncodingMixin.encodeS  s   |)
U)
U)
 f)
 ;	)

 f)
 U)
 D)
 ;)
 D)
 3)
 )
 )
 )
 *)
 w)
  U!)
" f#)
$ w%)
& 3')
( U))
* D+)
, f-)
. */)
0 ]1)
2 ;3)
4 D5)
6 U7)
8 f9)
: w;)
< 3=)
> ?)
@ "A)
B fC)
D wE)
F Q)
T '-||~L~tq!)9Kad~FL 'tV4 yyzly+99Z,h 3 34)1)=)=)?V)?A1ICU1)?HV,,8x8 M Ws   	EE
EEN)Tr  r   r   z.Optional[str | AnyAngle | IntoCondition | Map]r  z.Optional[str | AnyColor | IntoCondition | Map]r  z,Optional[str | Column | IntoCondition | Map]r	  z4Optional[str | AnyDescription | IntoCondition | Map]r  z6Optional[OneOrSeq[str | Detail | IntoCondition | Map]]r  z+Optional[str | Facet | IntoCondition | Map]r  z-Optional[str | AnyFill | IntoCondition | Map]r  z4Optional[str | AnyFillOpacity | IntoCondition | Map]r3  z-Optional[str | AnyHref | IntoCondition | Map]rS  z)Optional[str | Key | IntoCondition | Map]rg  z1Optional[str | AnyLatitude | IntoCondition | Map]r  z2Optional[str | AnyLatitude2 | IntoCondition | Map]r  z2Optional[str | AnyLongitude | IntoCondition | Map]r  z3Optional[str | AnyLongitude2 | IntoCondition | Map]r  z0Optional[str | AnyOpacity | IntoCondition | Map]rg  z8Optional[OneOrSeq[str | AnyOrder | IntoCondition | Map]]r  z/Optional[str | AnyRadius | IntoCondition | Map]rO  z0Optional[str | AnyRadius2 | IntoCondition | Map]r  z)Optional[str | Row | IntoCondition | Map]r|  z.Optional[str | AnyShape | IntoCondition | Map]r  z-Optional[str | AnySize | IntoCondition | Map]r  z/Optional[str | AnyStroke | IntoCondition | Map]r  z3Optional[str | AnyStrokeDash | IntoCondition | Map]r+  z6Optional[str | AnyStrokeOpacity | IntoCondition | Map]r\  z4Optional[str | AnyStrokeWidth | IntoCondition | Map]r  z-Optional[str | AnyText | IntoCondition | Map]r  z.Optional[str | AnyTheta | IntoCondition | Map]r  z/Optional[str | AnyTheta2 | IntoCondition | Map]r  z:Optional[OneOrSeq[str | AnyTooltip | IntoCondition | Map]]r  z,Optional[str | AnyUrl | IntoCondition | Map]r!  z*Optional[str | AnyX | IntoCondition | Map]r  z+Optional[str | AnyX2 | IntoCondition | Map]r  z/Optional[str | AnyXError | IntoCondition | Map]r  z0Optional[str | AnyXError2 | IntoCondition | Map]r  z0Optional[str | AnyXOffset | IntoCondition | Map]r  z*Optional[str | AnyY | IntoCondition | Map]r"  z+Optional[str | AnyY2 | IntoCondition | Map]r6  z/Optional[str | AnyYError | IntoCondition | Map]rE  z0Optional[str | AnyYError2 | IntoCondition | Map]rT  z0Optional[str | AnyYOffset | IntoCondition | Map]r   r$   )r   r   r   r   r  r   r   r   r  r  S  s    AJ@I?HLUIR=F>GLU>G9BFOHQHQJSDMJSBKDM9B@I>GBKJS LU>G@IBKNW<E8A:CBKDMDM8A:CBKDMDMYvv >v >	v
 =v Jv Gv ;v <v Jv <v 7v Dv Fv Fv  H!v" B#v$ H%v& @'v( B)v* 7+v, >-v. </v0 @1v2 H3v4
5v: J;v< <=v> >?v@ @AvB LCvD :EvF 6GvH 8IvJ @KvL BMvN BOvP 6QvR 8SvT @UvV BWvX BYvZ 
[vr   r  c                     e Zd ZU dZded<   ded<   ded<   ded	<   d
ed<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   d ed!<   d"ed#<   d$ed%<   d&ed'<   d(ed)<   d*ed+<   d,ed-<   d.ed/<   d0ed1<   d2ed3<   d4ed5<   d6ed7<   d8ed9<   d:ed;<   d<ed=<   d>ed?<   d@edA<   dBedC<   dDedE<   dFedG<   dHedI<   dJedK<   dLedM<   dNedO<   dPedQ<   yR)S
EncodeKwdsu#  
    Encoding channels map properties of the data to visual properties of the chart.

    Parameters
    ----------
    angle
        Rotation angle of point and text marks.
    color
        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"`` /
        stroke color for ``"line"`` and ``"point"``.

        **Default value:** If undefined, the default color depends on `mark config
        <https://vega.github.io/vega-lite/docs/config.html#mark-config>`__'s ``color``
        property.

        *Note:* 1) For fine-grained control over both fill and stroke colors of the marks,
        please use the ``fill`` and ``stroke`` channels. The ``fill`` or ``stroke``
        encodings have higher precedence than ``color``, thus may override the ``color``
        encoding if conflicting encodings are specified. 2) See the scale documentation for
        more information about customizing `color scheme
        <https://vega.github.io/vega-lite/docs/scale.html#scheme>`__.
    column
        A field definition for the horizontal facet of trellis plots.
    description
        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
        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
        A field definition for the (flexible) facet of trellis plots.

        If either ``row`` or ``column`` is specified, this channel will be ignored.
    fill
        Fill color of the marks. **Default value:** If undefined, the default color depends
        on `mark config <https://vega.github.io/vega-lite/docs/config.html#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
        Fill opacity of the marks.

        **Default value:** If undefined, the default opacity depends on `mark config
        <https://vega.github.io/vega-lite/docs/config.html#mark-config>`__'s ``fillOpacity``
        property.
    href
        A URL to load upon mouse click.
    key
        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
        Latitude position of geographically projected marks.
    latitude2
        Latitude-2 position for geographically projected ranged ``"area"``, ``"bar"``,
        ``"rect"``, and  ``"rule"``.
    longitude
        Longitude position of geographically projected marks.
    longitude2
        Longitude-2 position for geographically projected ranged ``"area"``, ``"bar"``,
        ``"rect"``, and  ``"rule"``.
    opacity
        Opacity of the marks.

        **Default value:** If undefined, the default opacity depends on `mark config
        <https://vega.github.io/vega-lite/docs/config.html#mark-config>`__'s ``opacity``
        property.
    order
        Order of the marks.

        * For stacked marks, this ``order`` channel encodes `stack order
          <https://vega.github.io/vega-lite/docs/stack.html#order>`__.
        * For line and trail marks, this ``order`` channel encodes order of data points in
          the lines. This can be useful for creating `a connected scatterplot
          <https://vega.github.io/vega-lite/examples/connected_scatterplot.html>`__. Setting
          ``order`` to ``{"value": null}`` makes the line marks use the original order in
          the data sources.
        * Otherwise, this ``order`` channel encodes layer order of the marks.

        **Note**: In aggregate plots, ``order`` field should be ``aggregate``d to avoid
        creating additional aggregation grouping.
    radius
        The outer radius in pixels of arc marks.
    radius2
        The inner radius in pixels of arc marks.
    row
        A field definition for the vertical facet of trellis plots.
    shape
        Shape of the mark.

        1. For ``point`` marks the supported values include:   - plotting shapes:
        ``"circle"``, ``"square"``, ``"cross"``, ``"diamond"``, ``"triangle-up"``,
        ``"triangle-down"``, ``"triangle-right"``, or ``"triangle-left"``.   - the line
        symbol ``"stroke"``   - centered directional shapes ``"arrow"``, ``"wedge"``, or
        ``"triangle"``   - a custom `SVG path string
        <https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths>`__ (For correct
        sizing, custom shape paths should be defined within a square bounding box with
        coordinates ranging from -1 to 1 along both the x and y dimensions.)

        2. For ``geoshape`` marks it should be a field definition of the geojson data

        **Default value:** If undefined, the default shape depends on `mark config
        <https://vega.github.io/vega-lite/docs/config.html#point-config>`__'s ``shape``
        property. (``"circle"`` if unset.)
    size
        Size of the mark.

        * For ``"point"``, ``"square"`` and ``"circle"``, - the symbol size, or pixel area
          of the mark.
        * For ``"bar"`` and ``"tick"`` - the bar and tick's size.
        * For ``"text"`` - the text's font size.
        * Size is unsupported for ``"line"``, ``"area"``, and ``"rect"``. (Use ``"trail"``
          instead of line with varying size)
    stroke
        Stroke color of the marks. **Default value:** If undefined, the default color
        depends on `mark config
        <https://vega.github.io/vega-lite/docs/config.html#mark-config>`__'s ``color``
        property.

        *Note:* The ``stroke`` encoding has higher precedence than ``color``, thus may
        override the ``color`` encoding if conflicting encodings are specified.
    strokeDash
        Stroke dash of the marks.

        **Default value:** ``[1,0]`` (No dash).
    strokeOpacity
        Stroke opacity of the marks.

        **Default value:** If undefined, the default opacity depends on `mark config
        <https://vega.github.io/vega-lite/docs/config.html#mark-config>`__'s
        ``strokeOpacity`` property.
    strokeWidth
        Stroke width of the marks.

        **Default value:** If undefined, the default stroke width depends on `mark config
        <https://vega.github.io/vega-lite/docs/config.html#mark-config>`__'s ``strokeWidth``
        property.
    text
        Text of the ``text`` mark.
    theta
        * 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
        The end angle of arc marks in radians. A value of 0 indicates up or “north”,
        increasing values proceed clockwise.
    tooltip
        The tooltip text to show upon mouse hover. Specifying ``tooltip`` encoding overrides
        `the tooltip property in the mark definition
        <https://vega.github.io/vega-lite/docs/mark.html#mark-def>`__.

        See the `tooltip <https://vega.github.io/vega-lite/docs/tooltip.html>`__
        documentation for a detailed discussion about tooltip in Vega-Lite.
    url
        The URL of an image mark.
    x
        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
        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
        Error value of x coordinates for error specified ``"errorbar"`` and ``"errorband"``.
    xError2
        Secondary error value of x coordinates for error specified ``"errorbar"`` and
        ``"errorband"``.
    xOffset
        Offset of x-position of the marks
    y
        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
        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
        Error value of y coordinates for error specified ``"errorbar"`` and ``"errorband"``.
    yError2
        Secondary error value of y coordinates for error specified ``"errorbar"`` and
        ``"errorband"``.
    yOffset
        Offset of y-position of the marks
    z$str | AnyAngle | IntoCondition | Mapr   z$str | AnyColor | IntoCondition | Mapr  z"str | Column | IntoCondition | Mapr  z*str | AnyDescription | IntoCondition | Mapr	  z,OneOrSeq[str | Detail | IntoCondition | Map]r  z!str | Facet | IntoCondition | Mapr  z#str | AnyFill | IntoCondition | Mapr  z*str | AnyFillOpacity | IntoCondition | Mapr  z#str | AnyHref | IntoCondition | Mapr3  zstr | Key | IntoCondition | MaprS  z'str | AnyLatitude | IntoCondition | Maprg  z(str | AnyLatitude2 | IntoCondition | Mapr  z(str | AnyLongitude | IntoCondition | Mapr  z)str | AnyLongitude2 | IntoCondition | Mapr  z&str | AnyOpacity | IntoCondition | Mapr  z.OneOrSeq[str | AnyOrder | IntoCondition | Map]rg  z%str | AnyRadius | IntoCondition | Mapr  z&str | AnyRadius2 | IntoCondition | MaprO  zstr | Row | IntoCondition | Mapr  z$str | AnyShape | IntoCondition | Mapr|  z#str | AnySize | IntoCondition | Mapr  z%str | AnyStroke | IntoCondition | Mapr  z)str | AnyStrokeDash | IntoCondition | Mapr  z,str | AnyStrokeOpacity | IntoCondition | Mapr+  z*str | AnyStrokeWidth | IntoCondition | Mapr\  z#str | AnyText | IntoCondition | Mapr  z$str | AnyTheta | IntoCondition | Mapr  z%str | AnyTheta2 | IntoCondition | Mapr  z0OneOrSeq[str | AnyTooltip | IntoCondition | Map]r  z"str | AnyUrl | IntoCondition | Mapr  z str | AnyX | IntoCondition | Mapr!  z!str | AnyX2 | IntoCondition | Mapr  z%str | AnyXError | IntoCondition | Mapr  z&str | AnyXError2 | IntoCondition | Mapr  z&str | AnyXOffset | IntoCondition | Mapr  z str | AnyY | IntoCondition | Mapr  z!str | AnyY2 | IntoCondition | Mapr"  z%str | AnyYError | IntoCondition | Mapr6  z&str | AnyYError2 | IntoCondition | MaprE  z&str | AnyYOffset | IntoCondition | MaprT  N)r   r   r   r  r   r   r   r   r  r  )U  s    EN 0///..;;88,,
--;;
--	((5577779933991133	((//
--1199??;;
--//11==	++''))113333''))113333r   r  F)total(	  
__future__r   systypingr   r   r   r   r   r	   version_infor   typing_extensionsnarwhals.stable.v1stablev1r   altair.utilsr   r  r   altair.utils.schemapir   r    r   _typingcollections.abcr   altairr   r   altair.typingr   altair.vegalite.v5.apir   r   r   altair.vegalite.v5.schema.corer   r   r   r   r   r    r!   r"   r$   __all__r3   rr   r.   2FieldOrDatumDefWithConditionMarkPropFieldDefnumberr'   *FieldOrDatumDefWithConditionDatumDefnumberr(   2ValueDefWithConditionMarkPropFieldOrDatumDefnumberr)   >FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnullr*   6FieldOrDatumDefWithConditionDatumDefGradientstringnullr+   >ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnullr,   RowColumnEncodingFieldDefr-   StringFieldDefWithConditionr/   StringValueDefWithConditionr0   FieldDefWithoutScaler1   FacetEncodingFieldDefr2   r4   r5   r9   r6   r7   r8   r:   r;   r<   LatLongFieldDefr=   DatumDefrA   SecondaryFieldDefr>   r?   PositionValueDefr@   rB   rF   rC   rD   rE   rG   rH   rI   OrderFieldDefrJ   OrderValueDefrK   PositionFieldDefBaserL   PositionDatumDefBaserP   rQ   rM   rN   rO   rR   BFieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnullrS   .FieldOrDatumDefWithConditionDatumDefstringnullrT   BValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnullrU   rV   rW   rX   rY   r]   ra   7FieldOrDatumDefWithConditionMarkPropFieldDefnumberArrayrZ   /FieldOrDatumDefWithConditionDatumDefnumberArrayr[   7ValueDefWithConditionMarkPropFieldOrDatumDefnumberArrayr\   r^   r_   r`   rb   rc   rd   .FieldOrDatumDefWithConditionStringFieldDefTextre   .FieldOrDatumDefWithConditionStringDatumDefTextrf   'ValueDefWithConditionStringFieldDefTextrg   rh   rl   rm   ri   rj   rk   rn   ro   rp   rq   PositionFieldDefrs   PositionDatumDefrv   r~   r%   rt   ru   rw   ValueDefnumberrz   rx   ry   ScaleFieldDefr{   ScaleDatumDefr|   r}   r   r   r   r&   r   r   r   r   r   r   r   r   r   rp  r   rq  rr  rs  rt  ru  rv  rw  rx  ry  rz  r{  r|  r}  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   rx  r  r  r  r  OneOrSeqr  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r   r   <module>r     s   #  J Jw +   F ( B  (,&AA	 	 	 7"*hV?R ?RD
 
2
 
$ J
tVV J
 J
Z X
"D$S$S X
 X
v ACtNNAC ACH O
GGO
 O
d Z
tRRZ
 Z
z BCGGBC BCJ B
 > > B
 B
J t
#T%E%E t
 t
n	 C($*J*J C CD p
 9 9 p
 p
f y
t99 y
 y
x O
GGO
 O
d Z
tRRZ
 Z
z BCGGBC BCJ R
tNNR
 R
j Z
tFFZ
 Z
z ACtNNAC ACH n
d>> n
 n
b	 C!4#C#C C CD l

T66 l
 l
^ _
 $"6"6 _
 _
D x
%t}} x
 x
v \
!4#9#9 \
 \
~ x
& x
 x
v .&(=(= . ., _
!4#7#7 _
 _
D x
& x
 x
v \
"D$:$: \
 \
~ x
' x
 x
v .')>)> . ., R
tNNR
 R
j X
$d&U&U X
 X
v ACtNNAC ACH p
t11 p
 p
f .C"D$6$6 .C .Cb ^
 9 9 ^
 ^
B a
#T%>%> a
 a
H .#T%:%: . ., \
!7!7 \
 \
~ x
$dmm x
 x
v .$d&;&; . ., ~

T;; ~
 ~
B O
KKO
 O
d Z
tJJZ
 Z
z BCKKBC BCJ J
dUU J
 J
Z X
!4#R#R X
 X
v ACtNNAC ACH S
GGS
 S
l Z
tRRZ
 Z
z BCGGBC BCJ R
tSSR
 R
j Z
tKKZ
 Z
z ACtSSAC ACH R
tNNR
 R
j Z
tFFZ
 Z
z ACtNNAC ACH R
tNNR
 R
j Z
tFFZ
 Z
z ACtNNAC ACH n
dQQ n
 n
b	 B
!4#V#V B
 B
J NC!4#O#O NC NCb Z
t88 Z
 Z
z a
"D$=$= a
 a
H ."D$9$9 . ., \
 6 6 \
 \
~ x
#T]] x
 x
v .#T%:%: . ., t
!A!A t
 t
n	 C$d&F&F C CD n

T== n
 n
b	 C $"B"B C CD q
400 q
 q
h x
 5 5 x
 x
v . 5 5 . ., X
	D22 X
 X
v x
 x
 x
v .!6!6 . ., \
 6 6 \
 \
~ .#T%8%8 . ., \
!7!7 \
 \
~ .$d&9&9 . ., |
!3!3 |
 |
~ 
$d&8&8 
 
D .$d&9&9 . ., q
400 q
 q
h x
 5 5 x
 x
v . 5 5 . ., X
	D22 X
 X
v x
 x
 x
v .!6!6 . ., \
 6 6 \
 \
~ .#T%8%8 . ., \
!7!7 \
 \
~ .$d&9&9 . ., |
!3!3 |
 |
~ 
$d&8&8 
 
D .$d&9&9 . ., E:z9:) :E:z9:) :!+/?"?@	 @4I56 6!+/?AQ"QR	 R4?+ +x67Y 7	>> IJi J	> 9:i : _o!MNy Ng|\AB
I BE:-.) .V[+=>	9 >g|\AB
I BE:z9:) :4I56 6V[+=>	9 > _o!MNy N#%'99 )  "+/?AQ"QR	 R4I56 6E:z9:) :V[+=>	9 >g|34
I 4#x-(	 (66)*i *Wg-.y .V[01	9 1g|34
I 4g|\AB
I B66)*i *Wg-.y .V[01	9 1g|34
I 4g|\AB
I BX CDi DX CDi D fos!BCy C %c>?C&O P I P#E#v*K$LMy MUOS @Ai AsG_cABY B %c>?C&O P I PsG_cABY Bc3<=
I ="3_c#IJ J#C$KL ) L#C$KL ) L$S-#%MN 9 N!#z?C"GH	 H"5h)L#MNi N i#!EFy F!#z?C"GH	 Hc3<=
I =X CDi DsG_cABY B i#!EFy F$S-#%MN 9 N"'-=PS(S"T i T %c>?C&O P I PsG_cABY BX CDi D i#!EFy F$U3
OS+P%QR	 Rc6?C?@
I @C;<) <S%#=>	9 > i#!EFy F!#z?C"GH	 H!#z?C"GH	 HC;<) <S%#=>	9 > i#!EFy F!#z?C"GH	 H!#z?C"GH	 Hw wt	o4% o4 o4r   