
    -Ph                    6    d dl mZ d dlZ G d de          ZdS )    )BaseTraceTypeNc                       e Zd ZdZdZh dZed             Zej        d             Zed             Z	e	j        d             Z	ed             Z
e
j        d	             Z
ed
             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed              Zej        d!             Zed"             Zej        d#             Zed$             Zej        d%             Zed&             Zej        d'             Zed(             Zej        d)             Zed*             Zej        d+             Zed,             Zej        d-             Zed.             Zej        d/             Zed0             Zej        d1             Zed2             Zej        d3             Zed4             Z e j        d5             Z ed6             Z!e!j        d7             Z!ed8             Z"e"j        d9             Z"ed:             Z#e#j        d;             Z#ed<             Z$e$j        d=             Z$ed>             Z%e%j        d?             Z%ed@             Z&e&j        dA             Z&edB             Z'e'j        dC             Z'edD             Z(e(j        dE             Z(edF             Z)e)j        dG             Z)edH             Z*e*j        dI             Z*edJ             Z+e+j        dK             Z+edL             Z,e,j        dM             Z,edN             Z-e-j        dO             Z-edP             Z.e.j        dQ             Z.edR             Z/e/j        dS             Z/edT             Z0e0j        dU             Z0edV             Z1e1j        dW             Z1edX             Z2e2j        dY             Z2edZ             Z3e3j        d[             Z3ed\             Z4e4j        d]             Z4ed^             Z5e5j        d_             Z5ed`             Z6e6j        da             Z6edb             Z7e7j        dc             Z7edd             Z8e8j        de             Z8edf             Z9e9j        dg             Z9edh             Z:e:j        di             Z:edj             Z;edk             Z<	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dn fdm	Z= xZ>S )oScatterternary scatterternary>4   abcidssumuidasrcbsrccsrcfilllinemetamodenametexttypeidssrclegendmarkerstreamhoveronmetasrcopacitysubplottextsrcvisibleselectedtextfont	fillcolor	hoverinfo	hovertext
cliponaxis
customdata
hoverlabel
legendrank
showlegend
uirevision
unselectedconnectgapslegendgrouplegendwidthhoverinfosrchovertextsrctextpositiontexttemplatecustomdatasrchovertemplateselectedpointstextpositionsrctexttemplatesrchovertemplatesrclegendgrouptitlec                     | d         S )a  
        Sets the quantity of component `a` in each data point. If `a`,
        `b`, and `c` are all provided, they need not be normalized,
        only the relative values matter. If only two arrays are
        provided they must be normalized to match `ternary<i>.sum`.

        The 'a' property is an array that may be specified as a tuple,
        list, numpy array, or pandas Series

        Returns
        -------
        numpy.ndarray
        r    selfs    a/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/plotly/graph_objs/_scatterternary.pyr   zScatterternary.aC        Cy    c                     || d<   d S )Nr   r=   r?   vals     r@   r   zScatterternary.aT       S			rB   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `a`.

        The 'asrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r   r=   r>   s    r@   r   zScatterternary.asrcX        F|rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.asrcf       VrB   c                     | d         S )a  
        Sets the quantity of component `a` in each data point. If `a`,
        `b`, and `c` are all provided, they need not be normalized,
        only the relative values matter. If only two arrays are
        provided they must be normalized to match `ternary<i>.sum`.

        The 'b' property is an array that may be specified as a tuple,
        list, numpy array, or pandas Series

        Returns
        -------
        numpy.ndarray
        r	   r=   r>   s    r@   r	   zScatterternary.bj   rA   rB   c                     || d<   d S )Nr	   r=   rD   s     r@   r	   zScatterternary.b{   rF   rB   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `b`.

        The 'bsrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r   r=   r>   s    r@   r   zScatterternary.bsrc   rH   rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.bsrc   rJ   rB   c                     | d         S )a  
        Sets the quantity of component `a` in each data point. If `a`,
        `b`, and `c` are all provided, they need not be normalized,
        only the relative values matter. If only two arrays are
        provided they must be normalized to match `ternary<i>.sum`.

        The 'c' property is an array that may be specified as a tuple,
        list, numpy array, or pandas Series

        Returns
        -------
        numpy.ndarray
        r
   r=   r>   s    r@   r
   zScatterternary.c   rA   rB   c                     || d<   d S )Nr
   r=   rD   s     r@   r
   zScatterternary.c   rF   rB   c                     | d         S )a  
        Determines whether or not markers and text nodes are clipped
        about the subplot axes. To show markers and text nodes above
        axis lines and tick labels, make sure to set `xaxis.layer` and
        `yaxis.layer` to *below traces*.

        The 'cliponaxis' property must be specified as a bool
        (either True, or False)

        Returns
        -------
        bool
        r'   r=   r>   s    r@   r'   zScatterternary.cliponaxis        L!!rB   c                     || d<   d S )Nr'   r=   rD   s     r@   r'   zScatterternary.cliponaxis        \rB   c                     | d         S )a  
        Determines whether or not gaps (i.e. {nan} or missing values)
        in the provided data arrays are connected.

        The 'connectgaps' property must be specified as a bool
        (either True, or False)

        Returns
        -------
        bool
        r.   r=   r>   s    r@   r.   zScatterternary.connectgaps        M""rB   c                     || d<   d S )Nr.   r=   rD   s     r@   r.   zScatterternary.connectgaps       !]rB   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `c`.

        The 'csrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r   r=   r>   s    r@   r   zScatterternary.csrc   rH   rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.csrc   rJ   rB   c                     | d         S )a  
        Assigns extra data each datum. This may be useful when
        listening to hover, click and selection events. Note that,
        "scatter" traces also appends customdata items in the markers
        DOM elements

        The 'customdata' property is an array that may be specified as a tuple,
        list, numpy array, or pandas Series

        Returns
        -------
        numpy.ndarray
        r(   r=   r>   s    r@   r(   zScatterternary.customdata   rR   rB   c                     || d<   d S )Nr(   r=   rD   s     r@   r(   zScatterternary.customdata   rT   rB   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for
        `customdata`.

        The 'customdatasrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r5   r=   r>   s    r@   r5   zScatterternary.customdatasrc   s     O$$rB   c                     || d<   d S )Nr5   r=   rD   s     r@   r5   zScatterternary.customdatasrc       #_rB   c                     | d         S )a  
        Sets the area to fill with a solid color. Use with `fillcolor`
        if not "none". scatterternary has a subset of the options
        available to scatter. "toself" connects the endpoints of the
        trace (or each segment of the trace if it has gaps) into a
        closed shape. "tonext" fills the space between two traces if
        one completely encloses the other (eg consecutive contour
        lines), and behaves like "toself" if there is no trace before
        it. "tonext" should not be used if one trace does not enclose
        the other.

        The 'fill' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['none', 'toself', 'tonext']

        Returns
        -------
        Any
        r   r=   r>   s    r@   r   zScatterternary.fill  s    * F|rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.fill  rJ   rB   c                     | d         S )aC  
        Sets the fill color. Defaults to a half-transparent variant of
        the line color, marker color, or marker line color, whichever
        is available.

        The 'fillcolor' property is a color and may be specified as:
          - A hex string (e.g. '#ff0000')
          - An rgb/rgba string (e.g. 'rgb(255,0,0)')
          - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
          - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
          - A named CSS color: see https://plotly.com/python/css-colors/ for a list

        Returns
        -------
        str
        r$   r=   r>   s    r@   r$   zScatterternary.fillcolor#      $ K  rB   c                     || d<   d S )Nr$   r=   rD   s     r@   r$   zScatterternary.fillcolor7      [rB   c                     | d         S )a\  
        Determines which trace information appear on hover. If `none`
        or `skip` are set, no information is displayed upon hovering.
        But, if `none` is set, click and hover events are still fired.

        The 'hoverinfo' property is a flaglist and may be specified
        as a string containing:
          - Any combination of ['a', 'b', 'c', 'text', 'name'] joined with '+' characters
            (e.g. 'a+b')
            OR exactly one of ['all', 'none', 'skip'] (e.g. 'skip')
          - A list or array of the above

        Returns
        -------
        Any|numpy.ndarray
        r%   r=   r>   s    r@   r%   zScatterternary.hoverinfo;  rc   rB   c                     || d<   d S )Nr%   r=   rD   s     r@   r%   zScatterternary.hoverinfoO  re   rB   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for
        `hoverinfo`.

        The 'hoverinfosrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r1   r=   r>   s    r@   r1   zScatterternary.hoverinfosrcS       N##rB   c                     || d<   d S )Nr1   r=   rD   s     r@   r1   zScatterternary.hoverinfosrcb      "^rB   c                     | d         S )a{  
        The 'hoverlabel' property is an instance of Hoverlabel
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.scatterternary.Hoverlabel`
          - A dict of string/value properties that will be passed
            to the Hoverlabel constructor

        Returns
        -------
        plotly.graph_objs.scatterternary.Hoverlabel
        r)   r=   r>   s    r@   r)   zScatterternary.hoverlabelf       L!!rB   c                     || d<   d S )Nr)   r=   rD   s     r@   r)   zScatterternary.hoverlabelu  rT   rB   c                     | d         S )a  
        Do the hover effects highlight individual points (markers or
        line points) or do they highlight filled regions? If the fill
        is "toself" or "tonext" and there are no markers or text, then
        the default is "fills", otherwise it is "points".

        The 'hoveron' property is a flaglist and may be specified
        as a string containing:
          - Any combination of ['points', 'fills'] joined with '+' characters
            (e.g. 'points+fills')

        Returns
        -------
        Any
        r   r=   r>   s    r@   r   zScatterternary.hoverony      " IrB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.hoveron      YrB   c                     | d         S )a   
        Template string used for rendering the information that appear
        on hover box. Note that this will override `hoverinfo`.
        Variables are inserted using %{variable}, for example "y: %{y}"
        as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When
        showing info for several points, "xother" will be added to
        those with different x positions from the first point. An
        underscore before or after "(x|y)other" will add a space on
        that side, only when this field is shown. Numbers are formatted
        using d3-format's syntax %{variable:d3-format}, for example
        "Price: %{y:$.2f}".
        https://github.com/d3/d3-format/tree/v1.4.5#d3-format for
        details on the formatting syntax. Dates are formatted using
        d3-time-format's syntax %{variable|d3-time-format}, for example
        "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-
        format/tree/v2.2.3#locale_format for details on the date
        formatting syntax. The variables available in `hovertemplate`
        are the ones emitted as event data described at this link
        https://plotly.com/javascript/plotlyjs-events/#event-data.
        Additionally, every attributes that can be specified per-point
        (the ones that are `arrayOk: true`) are available.  Anything
        contained in tag `<extra>` is displayed in the secondary box,
        for example "<extra>{fullData.name}</extra>". To hide the
        secondary box completely, use an empty tag `<extra></extra>`.

        The 'hovertemplate' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        str|numpy.ndarray
        r6   r=   r>   s    r@   r6   zScatterternary.hovertemplate  s    H O$$rB   c                     || d<   d S )Nr6   r=   rD   s     r@   r6   zScatterternary.hovertemplate  r_   rB   c                     | d         S )a  
        Sets the source reference on Chart Studio Cloud for
        `hovertemplate`.

        The 'hovertemplatesrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r:   r=   r>   s    r@   r:   zScatterternary.hovertemplatesrc       &''rB   c                     || d<   d S )Nr:   r=   rD   s     r@   r:   zScatterternary.hovertemplatesrc      #&   rB   c                     | d         S )a^  
        Sets hover text elements associated with each (a,b,c) point. If
        a single string, the same string appears over all the data
        points. If an array of strings, the items are mapped in order
        to the the data points in (a,b,c). To be seen, trace
        `hoverinfo` must contain a "text" flag.

        The 'hovertext' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        str|numpy.ndarray
        r&   r=   r>   s    r@   r&   zScatterternary.hovertext  rc   rB   c                     || d<   d S )Nr&   r=   rD   s     r@   r&   zScatterternary.hovertext  re   rB   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for
        `hovertext`.

        The 'hovertextsrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r2   r=   r>   s    r@   r2   zScatterternary.hovertextsrc  ri   rB   c                     || d<   d S )Nr2   r=   rD   s     r@   r2   zScatterternary.hovertextsrc  rk   rB   c                     | d         S )am  
        Assigns id labels to each datum. These ids for object constancy
        of data points during animation. Should be an array of strings,
        not numbers or any other type.

        The 'ids' property is an array that may be specified as a tuple,
        list, numpy array, or pandas Series

        Returns
        -------
        numpy.ndarray
        r   r=   r>   s    r@   r   zScatterternary.ids       E{rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.ids      UrB   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `ids`.

        The 'idssrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r   r=   r>   s    r@   r   zScatterternary.idssrc  s     H~rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.idssrc      XrB   c                     | d         S )a/  
        Sets the reference to a legend to show this trace in.
        References to these legends are "legend", "legend2", "legend3",
        etc. Settings for these legends are set in the layout, under
        `layout.legend`, `layout.legend2`, etc.

        The 'legend' property is an identifier of a particular
        subplot, of type 'legend', that may be specified as the string 'legend'
        optionally followed by an integer >= 1
        (e.g. 'legend', 'legend1', 'legend2', 'legend3', etc.)

        Returns
        -------
        str
        r   r=   r>   s    r@   r   zScatterternary.legend  s    " H~rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.legend1  r   rB   c                     | d         S )ar  
        Sets the legend group for this trace. Traces and shapes part of
        the same legend group hide/show at the same time when toggling
        legend items.

        The 'legendgroup' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string

        Returns
        -------
        str
        r/   r=   r>   s    r@   r/   zScatterternary.legendgroup5  s     M""rB   c                     || d<   d S )Nr/   r=   rD   s     r@   r/   zScatterternary.legendgroupF  rX   rB   c                     | d         S )a  
        The 'legendgrouptitle' property is an instance of Legendgrouptitle
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.scatterternary.Legendgrouptitle`
          - A dict of string/value properties that will be passed
            to the Legendgrouptitle constructor

        Returns
        -------
        plotly.graph_objs.scatterternary.Legendgrouptitle
        r;   r=   r>   s    r@   r;   zScatterternary.legendgrouptitleJ  rv   rB   c                     || d<   d S )Nr;   r=   rD   s     r@   r;   zScatterternary.legendgrouptitleY  rx   rB   c                     | d         S )a  
        Sets the legend rank for this trace. Items and groups with
        smaller ranks are presented on top/left side while with
        "reversed" `legend.traceorder` they are on bottom/right side.
        The default legendrank is 1000, so that you can use ranks less
        than 1000 to place certain items before all unranked items, and
        ranks greater than 1000 to go after all unranked items. When
        having unranked or equal rank items shapes would be displayed
        after traces i.e. according to their order in data and layout.

        The 'legendrank' property is a number and may be specified as:
          - An int or float

        Returns
        -------
        int|float
        r*   r=   r>   s    r@   r*   zScatterternary.legendrank]  s    & L!!rB   c                     || d<   d S )Nr*   r=   rD   s     r@   r*   zScatterternary.legendrankr  rT   rB   c                     | d         S )a  
        Sets the width (in px or fraction) of the legend for this
        trace.

        The 'legendwidth' property is a number and may be specified as:
          - An int or float in the interval [0, inf]

        Returns
        -------
        int|float
        r0   r=   r>   s    r@   r0   zScatterternary.legendwidthv  rV   rB   c                     || d<   d S )Nr0   r=   rD   s     r@   r0   zScatterternary.legendwidth  rX   rB   c                     | d         S )a]  
        The 'line' property is an instance of Line
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.scatterternary.Line`
          - A dict of string/value properties that will be passed
            to the Line constructor

        Returns
        -------
        plotly.graph_objs.scatterternary.Line
        r   r=   r>   s    r@   r   zScatterternary.line  s     F|rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.line  rJ   rB   c                     | d         S )ag  
        The 'marker' property is an instance of Marker
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.scatterternary.Marker`
          - A dict of string/value properties that will be passed
            to the Marker constructor

        Returns
        -------
        plotly.graph_objs.scatterternary.Marker
        r   r=   r>   s    r@   r   zScatterternary.marker       H~rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.marker  r   rB   c                     | d         S )a  
        Assigns extra meta information associated with this trace that
        can be used in various text attributes. Attributes such as
        trace `name`, graph, axis and colorbar `title.text`, annotation
        `text` `rangeselector`, `updatemenues` and `sliders` `label`
        text all support `meta`. To access the trace `meta` values in
        an attribute in the same trace, simply use `%{meta[i]}` where
        `i` is the index or key of the `meta` item in question. To
        access trace `meta` in layout attributes, use
        `%{data[n[.meta[i]}` where `i` is the index or key of the
        `meta` and `n` is the trace index.

        The 'meta' property accepts values of any type

        Returns
        -------
        Any|numpy.ndarray
        r   r=   r>   s    r@   r   zScatterternary.meta      ( F|rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.meta  rJ   rB   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `meta`.

        The 'metasrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r   r=   r>   s    r@   r   zScatterternary.metasrc       IrB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.metasrc  rr   rB   c                     | d         S )a  
        Determines the drawing mode for this scatter trace. If the
        provided `mode` includes "text" then the `text` elements appear
        at the coordinates. Otherwise, the `text` elements appear on
        hover. If there are less than 20 points and the trace is not
        stacked then the default is "lines+markers". Otherwise,
        "lines".

        The 'mode' property is a flaglist and may be specified
        as a string containing:
          - Any combination of ['lines', 'markers', 'text'] joined with '+' characters
            (e.g. 'lines+markers')
            OR exactly one of ['none'] (e.g. 'none')

        Returns
        -------
        Any
        r   r=   r>   s    r@   r   zScatterternary.mode  r   rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.mode  rJ   rB   c                     | d         S )a#  
        Sets the trace name. The trace name appears as the legend item
        and on hover.

        The 'name' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string

        Returns
        -------
        str
        r   r=   r>   s    r@   r   zScatterternary.name  s     F|rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.name  rJ   rB   c                     | d         S )z
        Sets the opacity of the trace.

        The 'opacity' property is a number and may be specified as:
          - An int or float in the interval [0, 1]

        Returns
        -------
        int|float
        r   r=   r>   s    r@   r   zScatterternary.opacity	  r   rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.opacity  rr   rB   c                     | d         S )aq  
        The 'selected' property is an instance of Selected
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.scatterternary.Selected`
          - A dict of string/value properties that will be passed
            to the Selected constructor

        Returns
        -------
        plotly.graph_objs.scatterternary.Selected
        r"   r=   r>   s    r@   r"   zScatterternary.selected  s     JrB   c                     || d<   d S )Nr"   r=   rD   s     r@   r"   zScatterternary.selected*      ZrB   c                     | d         S )a  
        Array containing integer indices of selected points. Has an
        effect only for traces that support selections. Note that an
        empty array means an empty selection where the `unselected` are
        turned on for all points, whereas, any other non-array values
        means no selection all where the `selected` and `unselected`
        styles have no effect.

        The 'selectedpoints' property accepts values of any type

        Returns
        -------
        Any
        r7   r=   r>   s    r@   r7   zScatterternary.selectedpoints.  s      $%%rB   c                     || d<   d S )Nr7   r=   rD   s     r@   r7   zScatterternary.selectedpoints@  s    !$rB   c                     | d         S )z
        Determines whether or not an item corresponding to this trace
        is shown in the legend.

        The 'showlegend' property must be specified as a bool
        (either True, or False)

        Returns
        -------
        bool
        r+   r=   r>   s    r@   r+   zScatterternary.showlegendD  rm   rB   c                     || d<   d S )Nr+   r=   rD   s     r@   r+   zScatterternary.showlegendS  rT   rB   c                     | d         S )ag  
        The 'stream' property is an instance of Stream
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.scatterternary.Stream`
          - A dict of string/value properties that will be passed
            to the Stream constructor

        Returns
        -------
        plotly.graph_objs.scatterternary.Stream
        r   r=   r>   s    r@   r   zScatterternary.streamW  r   rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.streamf  r   rB   c                     | d         S )a.  
        Sets a reference between this trace's data coordinates and a
        ternary subplot. If "ternary" (the default value), the data
        refer to `layout.ternary`. If "ternary2", the data refer to
        `layout.ternary2`, and so on.

        The 'subplot' property is an identifier of a particular
        subplot, of type 'ternary', that may be specified as the string 'ternary'
        optionally followed by an integer >= 1
        (e.g. 'ternary', 'ternary1', 'ternary2', 'ternary3', etc.)

        Returns
        -------
        str
        r   r=   r>   s    r@   r   zScatterternary.subplotj  rp   rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.subplot}  rr   rB   c                     | d         S )a  
        The number each triplet should sum to, if only two of `a`, `b`,
        and `c` are provided. This overrides `ternary<i>.sum` to
        normalize this specific trace, but does not affect the values
        displayed on the axes. 0 (or missing) means to use
        ternary<i>.sum

        The 'sum' property is a number and may be specified as:
          - An int or float in the interval [0, inf]

        Returns
        -------
        int|float
        r   r=   r>   s    r@   r   zScatterternary.sum  s      E{rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.sum  r   rB   c                     | d         S )a  
        Sets text elements associated with each (a,b,c) point. If a
        single string, the same string appears over all the data
        points. If an array of strings, the items are mapped in order
        to the the data points in (a,b,c). If trace `hoverinfo`
        contains a "text" flag and "hovertext" is not set, these
        elements will be seen in the hover labels.

        The 'text' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        str|numpy.ndarray
        r   r=   r>   s    r@   r   zScatterternary.text  s    & F|rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.text  rJ   rB   c                     | d         S )a  
        Sets the text font.

        The 'textfont' property is an instance of Textfont
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.scatterternary.Textfont`
          - A dict of string/value properties that will be passed
            to the Textfont constructor

        Returns
        -------
        plotly.graph_objs.scatterternary.Textfont
        r#   r=   r>   s    r@   r#   zScatterternary.textfont  s     JrB   c                     || d<   d S )Nr#   r=   rD   s     r@   r#   zScatterternary.textfont  r   rB   c                     | d         S )a+  
        Sets the positions of the `text` elements with respects to the
        (x,y) coordinates.

        The 'textposition' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['top left', 'top center', 'top right', 'middle left',
                'middle center', 'middle right', 'bottom left', 'bottom
                center', 'bottom right']
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        Any|numpy.ndarray
        r3   r=   r>   s    r@   r3   zScatterternary.textposition  s    " N##rB   c                     || d<   d S )Nr3   r=   rD   s     r@   r3   zScatterternary.textposition  rk   rB   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for
        `textposition`.

        The 'textpositionsrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r8   r=   r>   s    r@   r8   zScatterternary.textpositionsrc       %&&rB   c                     || d<   d S )Nr8   r=   rD   s     r@   r8   zScatterternary.textpositionsrc      "%rB   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `text`.

        The 'textsrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r    r=   r>   s    r@   r    zScatterternary.textsrc  r   rB   c                     || d<   d S )Nr    r=   rD   s     r@   r    zScatterternary.textsrc  rr   rB   c                     | d         S )a  
        Template string used for rendering the information text that
        appear on points. Note that this will override `textinfo`.
        Variables are inserted using %{variable}, for example "y:
        %{y}". Numbers are formatted using d3-format's syntax
        %{variable:d3-format}, for example "Price: %{y:$.2f}".
        https://github.com/d3/d3-format/tree/v1.4.5#d3-format for
        details on the formatting syntax. Dates are formatted using
        d3-time-format's syntax %{variable|d3-time-format}, for example
        "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-
        format/tree/v2.2.3#locale_format for details on the date
        formatting syntax. Every attributes that can be specified per-
        point (the ones that are `arrayOk: true`) are available.
        Finally, the template string has access to variables `a`, `b`,
        `c` and `text`.

        The 'texttemplate' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        str|numpy.ndarray
        r4   r=   r>   s    r@   r4   zScatterternary.texttemplate  s    6 N##rB   c                     || d<   d S )Nr4   r=   rD   s     r@   r4   zScatterternary.texttemplate  rk   rB   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for
        `texttemplate`.

        The 'texttemplatesrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r9   r=   r>   s    r@   r9   zScatterternary.texttemplatesrc"  r   rB   c                     || d<   d S )Nr9   r=   rD   s     r@   r9   zScatterternary.texttemplatesrc1  r   rB   c                     | d         S )aH  
        Assign an id to this trace, Use this to provide object
        constancy between traces during animations and transitions.

        The 'uid' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string

        Returns
        -------
        str
        r   r=   r>   s    r@   r   zScatterternary.uid5  r~   rB   c                     || d<   d S )Nr   r=   rD   s     r@   r   zScatterternary.uidE  r   rB   c                     | d         S )aN  
        Controls persistence of some user-driven changes to the trace:
        `constraintrange` in `parcoords` traces, as well as some
        `editable: true` modifications such as `name` and
        `colorbar.title`. Defaults to `layout.uirevision`. Note that
        other user-driven trace attribute changes are controlled by
        `layout` attributes: `trace.visible` is controlled by
        `layout.legend.uirevision`, `selectedpoints` is controlled by
        `layout.selectionrevision`, and `colorbar.(x|y)` (accessible
        with `config: {editable: true}`) is controlled by
        `layout.editrevision`. Trace changes are tracked by `uid`,
        which only falls back on trace index if no `uid` is provided.
        So if your app can add/remove traces before the end of the
        `data` array, such that the same trace has a different index,
        you can still preserve user-driven changes if you give each
        trace a `uid` that stays with it as it moves.

        The 'uirevision' property accepts values of any type

        Returns
        -------
        Any
        r,   r=   r>   s    r@   r,   zScatterternary.uirevisionI  s    2 L!!rB   c                     || d<   d S )Nr,   r=   rD   s     r@   r,   zScatterternary.uirevisiond  rT   rB   c                     | d         S )a{  
        The 'unselected' property is an instance of Unselected
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.scatterternary.Unselected`
          - A dict of string/value properties that will be passed
            to the Unselected constructor

        Returns
        -------
        plotly.graph_objs.scatterternary.Unselected
        r-   r=   r>   s    r@   r-   zScatterternary.unselectedh  rm   rB   c                     || d<   d S )Nr-   r=   rD   s     r@   r-   zScatterternary.unselectedw  rT   rB   c                     | d         S )a  
        Determines whether or not this trace is visible. If
        "legendonly", the trace is not drawn, but can appear as a
        legend item (provided that the legend itself is visible).

        The 'visible' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                [True, False, 'legendonly']

        Returns
        -------
        Any
        r!   r=   r>   s    r@   r!   zScatterternary.visible{  s     IrB   c                     || d<   d S )Nr!   r=   rD   s     r@   r!   zScatterternary.visible  rr   rB   c                     | j         d         S )Nr   )_propsr>   s    r@   r   zScatterternary.type  s    {6""rB   c                     dS )Na7          a
            Sets the quantity of component `a` in each data point.
            If `a`, `b`, and `c` are all provided, they need not be
            normalized, only the relative values matter. If only
            two arrays are provided they must be normalized to
            match `ternary<i>.sum`.
        asrc
            Sets the source reference on Chart Studio Cloud for
            `a`.
        b
            Sets the quantity of component `a` in each data point.
            If `a`, `b`, and `c` are all provided, they need not be
            normalized, only the relative values matter. If only
            two arrays are provided they must be normalized to
            match `ternary<i>.sum`.
        bsrc
            Sets the source reference on Chart Studio Cloud for
            `b`.
        c
            Sets the quantity of component `a` in each data point.
            If `a`, `b`, and `c` are all provided, they need not be
            normalized, only the relative values matter. If only
            two arrays are provided they must be normalized to
            match `ternary<i>.sum`.
        cliponaxis
            Determines whether or not markers and text nodes are
            clipped about the subplot axes. To show markers and
            text nodes above axis lines and tick labels, make sure
            to set `xaxis.layer` and `yaxis.layer` to *below
            traces*.
        connectgaps
            Determines whether or not gaps (i.e. {nan} or missing
            values) in the provided data arrays are connected.
        csrc
            Sets the source reference on Chart Studio Cloud for
            `c`.
        customdata
            Assigns extra data each datum. This may be useful when
            listening to hover, click and selection events. Note
            that, "scatter" traces also appends customdata items in
            the markers DOM elements
        customdatasrc
            Sets the source reference on Chart Studio Cloud for
            `customdata`.
        fill
            Sets the area to fill with a solid color. Use with
            `fillcolor` if not "none". scatterternary has a subset
            of the options available to scatter. "toself" connects
            the endpoints of the trace (or each segment of the
            trace if it has gaps) into a closed shape. "tonext"
            fills the space between two traces if one completely
            encloses the other (eg consecutive contour lines), and
            behaves like "toself" if there is no trace before it.
            "tonext" should not be used if one trace does not
            enclose the other.
        fillcolor
            Sets the fill color. Defaults to a half-transparent
            variant of the line color, marker color, or marker line
            color, whichever is available.
        hoverinfo
            Determines which trace information appear on hover. If
            `none` or `skip` are set, no information is displayed
            upon hovering. But, if `none` is set, click and hover
            events are still fired.
        hoverinfosrc
            Sets the source reference on Chart Studio Cloud for
            `hoverinfo`.
        hoverlabel
            :class:`plotly.graph_objects.scatterternary.Hoverlabel`
            instance or dict with compatible properties
        hoveron
            Do the hover effects highlight individual points
            (markers or line points) or do they highlight filled
            regions? If the fill is "toself" or "tonext" and there
            are no markers or text, then the default is "fills",
            otherwise it is "points".
        hovertemplate
            Template string used for rendering the information that
            appear on hover box. Note that this will override
            `hoverinfo`. Variables are inserted using %{variable},
            for example "y: %{y}" as well as %{xother}, {%_xother},
            {%_xother_}, {%xother_}. When showing info for several
            points, "xother" will be added to those with different
            x positions from the first point. An underscore before
            or after "(x|y)other" will add a space on that side,
            only when this field is shown. Numbers are formatted
            using d3-format's syntax %{variable:d3-format}, for
            example "Price: %{y:$.2f}".
            https://github.com/d3/d3-format/tree/v1.4.5#d3-format
            for details on the formatting syntax. Dates are
            formatted using d3-time-format's syntax
            %{variable|d3-time-format}, for example "Day:
            %{2019-01-01|%A}". https://github.com/d3/d3-time-
            format/tree/v2.2.3#locale_format for details on the
            date formatting syntax. The variables available in
            `hovertemplate` are the ones emitted as event data
            described at this link
            https://plotly.com/javascript/plotlyjs-events/#event-
            data. Additionally, every attributes that can be
            specified per-point (the ones that are `arrayOk: true`)
            are available.  Anything contained in tag `<extra>` is
            displayed in the secondary box, for example
            "<extra>{fullData.name}</extra>". To hide the secondary
            box completely, use an empty tag `<extra></extra>`.
        hovertemplatesrc
            Sets the source reference on Chart Studio Cloud for
            `hovertemplate`.
        hovertext
            Sets hover text elements associated with each (a,b,c)
            point. If a single string, the same string appears over
            all the data points. If an array of strings, the items
            are mapped in order to the the data points in (a,b,c).
            To be seen, trace `hoverinfo` must contain a "text"
            flag.
        hovertextsrc
            Sets the source reference on Chart Studio Cloud for
            `hovertext`.
        ids
            Assigns id labels to each datum. These ids for object
            constancy of data points during animation. Should be an
            array of strings, not numbers or any other type.
        idssrc
            Sets the source reference on Chart Studio Cloud for
            `ids`.
        legend
            Sets the reference to a legend to show this trace in.
            References to these legends are "legend", "legend2",
            "legend3", etc. Settings for these legends are set in
            the layout, under `layout.legend`, `layout.legend2`,
            etc.
        legendgroup
            Sets the legend group for this trace. Traces and shapes
            part of the same legend group hide/show at the same
            time when toggling legend items.
        legendgrouptitle
            :class:`plotly.graph_objects.scatterternary.Legendgroup
            title` instance or dict with compatible properties
        legendrank
            Sets the legend rank for this trace. Items and groups
            with smaller ranks are presented on top/left side while
            with "reversed" `legend.traceorder` they are on
            bottom/right side. The default legendrank is 1000, so
            that you can use ranks less than 1000 to place certain
            items before all unranked items, and ranks greater than
            1000 to go after all unranked items. When having
            unranked or equal rank items shapes would be displayed
            after traces i.e. according to their order in data and
            layout.
        legendwidth
            Sets the width (in px or fraction) of the legend for
            this trace.
        line
            :class:`plotly.graph_objects.scatterternary.Line`
            instance or dict with compatible properties
        marker
            :class:`plotly.graph_objects.scatterternary.Marker`
            instance or dict with compatible properties
        meta
            Assigns extra meta information associated with this
            trace that can be used in various text attributes.
            Attributes such as trace `name`, graph, axis and
            colorbar `title.text`, annotation `text`
            `rangeselector`, `updatemenues` and `sliders` `label`
            text all support `meta`. To access the trace `meta`
            values in an attribute in the same trace, simply use
            `%{meta[i]}` where `i` is the index or key of the
            `meta` item in question. To access trace `meta` in
            layout attributes, use `%{data[n[.meta[i]}` where `i`
            is the index or key of the `meta` and `n` is the trace
            index.
        metasrc
            Sets the source reference on Chart Studio Cloud for
            `meta`.
        mode
            Determines the drawing mode for this scatter trace. If
            the provided `mode` includes "text" then the `text`
            elements appear at the coordinates. Otherwise, the
            `text` elements appear on hover. If there are less than
            20 points and the trace is not stacked then the default
            is "lines+markers". Otherwise, "lines".
        name
            Sets the trace name. The trace name appears as the
            legend item and on hover.
        opacity
            Sets the opacity of the trace.
        selected
            :class:`plotly.graph_objects.scatterternary.Selected`
            instance or dict with compatible properties
        selectedpoints
            Array containing integer indices of selected points.
            Has an effect only for traces that support selections.
            Note that an empty array means an empty selection where
            the `unselected` are turned on for all points, whereas,
            any other non-array values means no selection all where
            the `selected` and `unselected` styles have no effect.
        showlegend
            Determines whether or not an item corresponding to this
            trace is shown in the legend.
        stream
            :class:`plotly.graph_objects.scatterternary.Stream`
            instance or dict with compatible properties
        subplot
            Sets a reference between this trace's data coordinates
            and a ternary subplot. If "ternary" (the default
            value), the data refer to `layout.ternary`. If
            "ternary2", the data refer to `layout.ternary2`, and so
            on.
        sum
            The number each triplet should sum to, if only two of
            `a`, `b`, and `c` are provided. This overrides
            `ternary<i>.sum` to normalize this specific trace, but
            does not affect the values displayed on the axes. 0 (or
            missing) means to use ternary<i>.sum
        text
            Sets text elements associated with each (a,b,c) point.
            If a single string, the same string appears over all
            the data points. If an array of strings, the items are
            mapped in order to the the data points in (a,b,c). If
            trace `hoverinfo` contains a "text" flag and
            "hovertext" is not set, these elements will be seen in
            the hover labels.
        textfont
            Sets the text font.
        textposition
            Sets the positions of the `text` elements with respects
            to the (x,y) coordinates.
        textpositionsrc
            Sets the source reference on Chart Studio Cloud for
            `textposition`.
        textsrc
            Sets the source reference on Chart Studio Cloud for
            `text`.
        texttemplate
            Template string used for rendering the information text
            that appear on points. Note that this will override
            `textinfo`. Variables are inserted using %{variable},
            for example "y: %{y}". Numbers are formatted using
            d3-format's syntax %{variable:d3-format}, for example
            "Price: %{y:$.2f}".
            https://github.com/d3/d3-format/tree/v1.4.5#d3-format
            for details on the formatting syntax. Dates are
            formatted using d3-time-format's syntax
            %{variable|d3-time-format}, for example "Day:
            %{2019-01-01|%A}". https://github.com/d3/d3-time-
            format/tree/v2.2.3#locale_format for details on the
            date formatting syntax. Every attributes that can be
            specified per-point (the ones that are `arrayOk: true`)
            are available. Finally, the template string has access
            to variables `a`, `b`, `c` and `text`.
        texttemplatesrc
            Sets the source reference on Chart Studio Cloud for
            `texttemplate`.
        uid
            Assign an id to this trace, Use this to provide object
            constancy between traces during animations and
            transitions.
        uirevision
            Controls persistence of some user-driven changes to the
            trace: `constraintrange` in `parcoords` traces, as well
            as some `editable: true` modifications such as `name`
            and `colorbar.title`. Defaults to `layout.uirevision`.
            Note that other user-driven trace attribute changes are
            controlled by `layout` attributes: `trace.visible` is
            controlled by `layout.legend.uirevision`,
            `selectedpoints` is controlled by
            `layout.selectionrevision`, and `colorbar.(x|y)`
            (accessible with `config: {editable: true}`) is
            controlled by `layout.editrevision`. Trace changes are
            tracked by `uid`, which only falls back on trace index
            if no `uid` is provided. So if your app can add/remove
            traces before the end of the `data` array, such that
            the same trace has a different index, you can still
            preserve user-driven changes if you give each trace a
            `uid` that stays with it as it moves.
        unselected
            :class:`plotly.graph_objects.scatterternary.Unselected`
            instance or dict with compatible properties
        visible
            Determines whether or not this trace is visible. If
            "legendonly", the trace is not drawn, but can appear as
            a legend item (provided that the legend itself is
            visible).
        r=   r>   s    r@   _prop_descriptionsz!Scatterternary._prop_descriptions  s    [ [rB   Nc5           	      T   t                                          d           d|5v r|5d         | _        dS |i }nct          || j                  r|                                }n9t          |t                    rt          j        |          }nt          d          |5
                    dd          | _        |5
                    dd          | _        |                     d	||           |                     d
||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||	           |                     d||
           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d ||           |                     d!||           |                     d"||           |                     d#||           |                     d$||           |                     d%||           |                     d&||           |                     d'||            |                     d(||!           |                     d)||"           |                     d*||#           |                     d+||$           |                     d,||%           |                     d-||&           |                     d.||'           |                     d/||(           |                     d0||)           |                     d1||*           |                     d2||+           |                     d3||,           |                     d4||-           |                     d5||.           |                     d6||/           |                     d7||0           |                     d8||1           |                     d9||2           |                     d:||3           |                     d;||4           d| j        d<<   |
                    d<d            | j        d=i t          |fi |5 d| _        dS )>a9  
        Construct a new Scatterternary object

        Provides similar functionality to the "scatter" type but on a
        ternary phase diagram. The data is provided by at least two
        arrays out of `a`, `b`, `c` triplets.

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.Scatterternary`
        a
            Sets the quantity of component `a` in each data point.
            If `a`, `b`, and `c` are all provided, they need not be
            normalized, only the relative values matter. If only
            two arrays are provided they must be normalized to
            match `ternary<i>.sum`.
        asrc
            Sets the source reference on Chart Studio Cloud for
            `a`.
        b
            Sets the quantity of component `a` in each data point.
            If `a`, `b`, and `c` are all provided, they need not be
            normalized, only the relative values matter. If only
            two arrays are provided they must be normalized to
            match `ternary<i>.sum`.
        bsrc
            Sets the source reference on Chart Studio Cloud for
            `b`.
        c
            Sets the quantity of component `a` in each data point.
            If `a`, `b`, and `c` are all provided, they need not be
            normalized, only the relative values matter. If only
            two arrays are provided they must be normalized to
            match `ternary<i>.sum`.
        cliponaxis
            Determines whether or not markers and text nodes are
            clipped about the subplot axes. To show markers and
            text nodes above axis lines and tick labels, make sure
            to set `xaxis.layer` and `yaxis.layer` to *below
            traces*.
        connectgaps
            Determines whether or not gaps (i.e. {nan} or missing
            values) in the provided data arrays are connected.
        csrc
            Sets the source reference on Chart Studio Cloud for
            `c`.
        customdata
            Assigns extra data each datum. This may be useful when
            listening to hover, click and selection events. Note
            that, "scatter" traces also appends customdata items in
            the markers DOM elements
        customdatasrc
            Sets the source reference on Chart Studio Cloud for
            `customdata`.
        fill
            Sets the area to fill with a solid color. Use with
            `fillcolor` if not "none". scatterternary has a subset
            of the options available to scatter. "toself" connects
            the endpoints of the trace (or each segment of the
            trace if it has gaps) into a closed shape. "tonext"
            fills the space between two traces if one completely
            encloses the other (eg consecutive contour lines), and
            behaves like "toself" if there is no trace before it.
            "tonext" should not be used if one trace does not
            enclose the other.
        fillcolor
            Sets the fill color. Defaults to a half-transparent
            variant of the line color, marker color, or marker line
            color, whichever is available.
        hoverinfo
            Determines which trace information appear on hover. If
            `none` or `skip` are set, no information is displayed
            upon hovering. But, if `none` is set, click and hover
            events are still fired.
        hoverinfosrc
            Sets the source reference on Chart Studio Cloud for
            `hoverinfo`.
        hoverlabel
            :class:`plotly.graph_objects.scatterternary.Hoverlabel`
            instance or dict with compatible properties
        hoveron
            Do the hover effects highlight individual points
            (markers or line points) or do they highlight filled
            regions? If the fill is "toself" or "tonext" and there
            are no markers or text, then the default is "fills",
            otherwise it is "points".
        hovertemplate
            Template string used for rendering the information that
            appear on hover box. Note that this will override
            `hoverinfo`. Variables are inserted using %{variable},
            for example "y: %{y}" as well as %{xother}, {%_xother},
            {%_xother_}, {%xother_}. When showing info for several
            points, "xother" will be added to those with different
            x positions from the first point. An underscore before
            or after "(x|y)other" will add a space on that side,
            only when this field is shown. Numbers are formatted
            using d3-format's syntax %{variable:d3-format}, for
            example "Price: %{y:$.2f}".
            https://github.com/d3/d3-format/tree/v1.4.5#d3-format
            for details on the formatting syntax. Dates are
            formatted using d3-time-format's syntax
            %{variable|d3-time-format}, for example "Day:
            %{2019-01-01|%A}". https://github.com/d3/d3-time-
            format/tree/v2.2.3#locale_format for details on the
            date formatting syntax. The variables available in
            `hovertemplate` are the ones emitted as event data
            described at this link
            https://plotly.com/javascript/plotlyjs-events/#event-
            data. Additionally, every attributes that can be
            specified per-point (the ones that are `arrayOk: true`)
            are available.  Anything contained in tag `<extra>` is
            displayed in the secondary box, for example
            "<extra>{fullData.name}</extra>". To hide the secondary
            box completely, use an empty tag `<extra></extra>`.
        hovertemplatesrc
            Sets the source reference on Chart Studio Cloud for
            `hovertemplate`.
        hovertext
            Sets hover text elements associated with each (a,b,c)
            point. If a single string, the same string appears over
            all the data points. If an array of strings, the items
            are mapped in order to the the data points in (a,b,c).
            To be seen, trace `hoverinfo` must contain a "text"
            flag.
        hovertextsrc
            Sets the source reference on Chart Studio Cloud for
            `hovertext`.
        ids
            Assigns id labels to each datum. These ids for object
            constancy of data points during animation. Should be an
            array of strings, not numbers or any other type.
        idssrc
            Sets the source reference on Chart Studio Cloud for
            `ids`.
        legend
            Sets the reference to a legend to show this trace in.
            References to these legends are "legend", "legend2",
            "legend3", etc. Settings for these legends are set in
            the layout, under `layout.legend`, `layout.legend2`,
            etc.
        legendgroup
            Sets the legend group for this trace. Traces and shapes
            part of the same legend group hide/show at the same
            time when toggling legend items.
        legendgrouptitle
            :class:`plotly.graph_objects.scatterternary.Legendgroup
            title` instance or dict with compatible properties
        legendrank
            Sets the legend rank for this trace. Items and groups
            with smaller ranks are presented on top/left side while
            with "reversed" `legend.traceorder` they are on
            bottom/right side. The default legendrank is 1000, so
            that you can use ranks less than 1000 to place certain
            items before all unranked items, and ranks greater than
            1000 to go after all unranked items. When having
            unranked or equal rank items shapes would be displayed
            after traces i.e. according to their order in data and
            layout.
        legendwidth
            Sets the width (in px or fraction) of the legend for
            this trace.
        line
            :class:`plotly.graph_objects.scatterternary.Line`
            instance or dict with compatible properties
        marker
            :class:`plotly.graph_objects.scatterternary.Marker`
            instance or dict with compatible properties
        meta
            Assigns extra meta information associated with this
            trace that can be used in various text attributes.
            Attributes such as trace `name`, graph, axis and
            colorbar `title.text`, annotation `text`
            `rangeselector`, `updatemenues` and `sliders` `label`
            text all support `meta`. To access the trace `meta`
            values in an attribute in the same trace, simply use
            `%{meta[i]}` where `i` is the index or key of the
            `meta` item in question. To access trace `meta` in
            layout attributes, use `%{data[n[.meta[i]}` where `i`
            is the index or key of the `meta` and `n` is the trace
            index.
        metasrc
            Sets the source reference on Chart Studio Cloud for
            `meta`.
        mode
            Determines the drawing mode for this scatter trace. If
            the provided `mode` includes "text" then the `text`
            elements appear at the coordinates. Otherwise, the
            `text` elements appear on hover. If there are less than
            20 points and the trace is not stacked then the default
            is "lines+markers". Otherwise, "lines".
        name
            Sets the trace name. The trace name appears as the
            legend item and on hover.
        opacity
            Sets the opacity of the trace.
        selected
            :class:`plotly.graph_objects.scatterternary.Selected`
            instance or dict with compatible properties
        selectedpoints
            Array containing integer indices of selected points.
            Has an effect only for traces that support selections.
            Note that an empty array means an empty selection where
            the `unselected` are turned on for all points, whereas,
            any other non-array values means no selection all where
            the `selected` and `unselected` styles have no effect.
        showlegend
            Determines whether or not an item corresponding to this
            trace is shown in the legend.
        stream
            :class:`plotly.graph_objects.scatterternary.Stream`
            instance or dict with compatible properties
        subplot
            Sets a reference between this trace's data coordinates
            and a ternary subplot. If "ternary" (the default
            value), the data refer to `layout.ternary`. If
            "ternary2", the data refer to `layout.ternary2`, and so
            on.
        sum
            The number each triplet should sum to, if only two of
            `a`, `b`, and `c` are provided. This overrides
            `ternary<i>.sum` to normalize this specific trace, but
            does not affect the values displayed on the axes. 0 (or
            missing) means to use ternary<i>.sum
        text
            Sets text elements associated with each (a,b,c) point.
            If a single string, the same string appears over all
            the data points. If an array of strings, the items are
            mapped in order to the the data points in (a,b,c). If
            trace `hoverinfo` contains a "text" flag and
            "hovertext" is not set, these elements will be seen in
            the hover labels.
        textfont
            Sets the text font.
        textposition
            Sets the positions of the `text` elements with respects
            to the (x,y) coordinates.
        textpositionsrc
            Sets the source reference on Chart Studio Cloud for
            `textposition`.
        textsrc
            Sets the source reference on Chart Studio Cloud for
            `text`.
        texttemplate
            Template string used for rendering the information text
            that appear on points. Note that this will override
            `textinfo`. Variables are inserted using %{variable},
            for example "y: %{y}". Numbers are formatted using
            d3-format's syntax %{variable:d3-format}, for example
            "Price: %{y:$.2f}".
            https://github.com/d3/d3-format/tree/v1.4.5#d3-format
            for details on the formatting syntax. Dates are
            formatted using d3-time-format's syntax
            %{variable|d3-time-format}, for example "Day:
            %{2019-01-01|%A}". https://github.com/d3/d3-time-
            format/tree/v2.2.3#locale_format for details on the
            date formatting syntax. Every attributes that can be
            specified per-point (the ones that are `arrayOk: true`)
            are available. Finally, the template string has access
            to variables `a`, `b`, `c` and `text`.
        texttemplatesrc
            Sets the source reference on Chart Studio Cloud for
            `texttemplate`.
        uid
            Assign an id to this trace, Use this to provide object
            constancy between traces during animations and
            transitions.
        uirevision
            Controls persistence of some user-driven changes to the
            trace: `constraintrange` in `parcoords` traces, as well
            as some `editable: true` modifications such as `name`
            and `colorbar.title`. Defaults to `layout.uirevision`.
            Note that other user-driven trace attribute changes are
            controlled by `layout` attributes: `trace.visible` is
            controlled by `layout.legend.uirevision`,
            `selectedpoints` is controlled by
            `layout.selectionrevision`, and `colorbar.(x|y)`
            (accessible with `config: {editable: true}`) is
            controlled by `layout.editrevision`. Trace changes are
            tracked by `uid`, which only falls back on trace index
            if no `uid` is provided. So if your app can add/remove
            traces before the end of the `data` array, such that
            the same trace has a different index, you can still
            preserve user-driven changes if you give each trace a
            `uid` that stays with it as it moves.
        unselected
            :class:`plotly.graph_objects.scatterternary.Unselected`
            instance or dict with compatible properties
        visible
            Determines whether or not this trace is visible. If
            "legendonly", the trace is not drawn, but can appear as
            a legend item (provided that the legend itself is
            visible).

        Returns
        -------
        Scatterternary
        r   _parentNzThe first argument to the plotly.graph_objs.Scatterternary
constructor must be a dict or
an instance of :class:`plotly.graph_objs.Scatterternary`skip_invalidF	_validateTr   r   r	   r   r
   r'   r.   r   r(   r5   r   r$   r%   r1   r)   r   r6   r:   r&   r2   r   r   r   r/   r;   r*   r0   r   r   r   r   r   r   r   r"   r7   r+   r   r   r   r   r#   r3   r8   r    r4   r9   r   r,   r-   r!   r   r=   )super__init__r   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr   _set_propertyr   _process_kwargs)7r?   argr   r   r	   r   r
   r'   r.   r   r(   r5   r   r$   r%   r1   r)   r   r6   r:   r&   r2   r   r   r   r/   r;   r*   r0   r   r   r   r   r   r   r   r"   r7   r+   r   r   r   r   r#   r3   r8   r    r4   r9   r   r,   r-   r!   kwargsr   s7                                                         r@   r   zScatterternary.__init__  s   H 	)***!),DLF;CCT^,, 
	$$&&CCT"" 	*S//CC<   $ZZ>>K663Q'''63---3Q'''63---3Q'''<j999=#{;;;63---<j999?C???63---;Y777;Y777>3===<j9999c7333?C???-s4DEEE;Y777>3===5#s+++8S&1118S&111=#{;;;-s4DEEE<j999=#{;;;63---8S&11163---9c733363---63---9c7333:sH555+S.AAA<j9998S&1119c73335#s+++63---:sH555>3===,c?CCC9c7333>3===,c?CCC5#s+++<j999<j9999c7333.F33tC22622333"rB   )4NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN)?__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr   setterr   r	   r   r
   r'   r.   r   r(   r5   r   r$   r%   r1   r)   r   r6   r:   r&   r2   r   r   r   r/   r;   r*   r0   r   r   r   r   r   r   r   r"   r7   r+   r   r   r   r   r#   r3   r8   r    r4   r9   r   r,   r-   r!   r   r   r   __classcell__)r   s   @r@   r   r      s        I5 5 5Ln   X  X  X   X 
[  [   X  X  X   X 
[  [   X  X  X " " X"  ! ! ! # # X# " " "   X 
[  [ " " X"  ! ! ! % % X% $ $ $   X, 
[  [ ! ! X!&       ! ! X!&       $ $ X$ # # # " " X" ! ! !   X$ ^  ^ #% #% X#%J $ $ $ ( ( X( ' ' ' ! ! X!&       $ $ X$ # # #   X 	Z  Z   X ]  ]   X$ ]  ] # # X#  " " " ( ( X( ' ' ' " " X"( ! ! ! # # X# " " "   X 
[  [   X ]  ]   X* 
[  [   X ^  ^   X* 
[  [   X 
[  [   X ^  ^     X  _  _ & & X&" % % % " " X" ! ! !   X ]  ]   X$ ^  ^   X" 	Z  Z   X( 
[  [     X   _  _ $ $ X$$ # # # ' ' X' & & &   X ^  ^ $ $ X$8 # # # ' ' X' & & &   X 	Z  Z " " X"4 ! ! ! " " X" ! ! !   X  ^  ^ # # X# \ \ X\@	 


kq# q# q# q# q# q# q# q# q# q#rB   r   )plotly.basedatatypesr   _BaseTraceTyper   r   r   r=   rB   r@   <module>r      sd    A @ @ @ @ @    \# \# \# \# \#^ \# \# \# \# \#rB   