
    6Dh!                     .    S SK Jr  S SKr " S S\5      rg)    )BaseTraceHierarchyTypeNc                     ^  \ rS rSrSrSr1 Skr\S 5       r\R                  S 5       r\S 5       r
\
R                  S 5       r
\S	 5       r\R                  S
 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r        SU 4S jjrSrU =r$ )Line   scatterternaryzscatterternary.line>   dashcolorshapewidthbackoff	smoothing
backoffsrcc                     U S   $ )a  
Sets the line back off from the end point of the nth line
segment (in px). This option is useful e.g. to avoid overlap
with arrowhead markers. With "auto" the lines would trim before
markers if `marker.angleref` is set to "previous".

The 'backoff' property is a number and may be specified as:
  - An int or float in the interval [0, inf]
  - A tuple, list, or one-dimensional numpy array of the above

Returns
-------
int|float|numpy.ndarray
r    selfs    X/var/www/html/env/lib/python3.13/site-packages/plotly/graph_objs/scatterternary/_line.pyr   Line.backoff   s      I    c                     XS'   g )Nr   r   r   vals     r   r   r   (   s	    Yr   c                     U S   $ )z
Sets the source reference on Chart Studio Cloud for `backoff`.

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

Returns
-------
str
r   r   r   s    r   r   Line.backoffsrc,   s     L!!r   c                     XS'   g )Nr   r   r   s     r   r   r   :   s
     \r   c                     U S   $ )aa  
Sets the line color.

The 'color' 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	   
Line.color>   s      G}r   c                     XS'   g )Nr	   r   r   s     r   r	   r   P   	    Wr   c                     U S   $ )a  
Sets the dash style of lines. Set to a dash type string
("solid", "dot", "dash", "longdash", "dashdot", or
"longdashdot") or a dash length list in px (eg
"5px,10px,2px,2px").

The 'dash' property is an enumeration that may be specified as:
  - One of the following dash styles:
        ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']
  - A string containing a dash length list in pixels or percentages
        (e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)

Returns
-------
str
r   r   r   s    r   r   	Line.dashT   s    $ F|r   c                     XS'   g )Nr   r   r   s     r   r   r!   h   s	    Vr   c                     U S   $ )a;  
Determines the line shape. With "spline" the lines are drawn
using spline interpolation. The other available values
correspond to step-wise line shapes.

The 'shape' property is an enumeration that may be specified as:
  - One of the following enumeration values:
        ['linear', 'spline']

Returns
-------
Any
r
   r   r   s    r   r
   
Line.shapel   s     G}r   c                     XS'   g )Nr
   r   r   s     r   r
   r$   }   r   r   c                     U S   $ )a  
Has an effect only if `shape` is set to "spline" Sets the
amount of smoothing. 0 corresponds to no smoothing (equivalent
to a "linear" shape).

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

Returns
-------
int|float
r   r   r   s    r   r   Line.smoothing   s     K  r   c                     XS'   g )Nr   r   r   s     r   r   r'      s
    [r   c                     U S   $ )z
Sets the line width (in px).

The 'width' 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   
Line.width   s     G}r   c                     XS'   g )Nr   r   r   s     r   r   r*      r   r   c                     g)Na          backoff
            Sets the line back off from the end point of the nth
            line segment (in px). This option is useful e.g. to
            avoid overlap with arrowhead markers. With "auto" the
            lines would trim before markers if `marker.angleref` is
            set to "previous".
        backoffsrc
            Sets the source reference on Chart Studio Cloud for
            `backoff`.
        color
            Sets the line color.
        dash
            Sets the dash style of lines. Set to a dash type string
            ("solid", "dot", "dash", "longdash", "dashdot", or
            "longdashdot") or a dash length list in px (eg
            "5px,10px,2px,2px").
        shape
            Determines the line shape. With "spline" the lines are
            drawn using spline interpolation. The other available
            values correspond to step-wise line shapes.
        smoothing
            Has an effect only if `shape` is set to "spline" Sets
            the amount of smoothing. 0 corresponds to no smoothing
            (equivalent to a "linear" shape).
        width
            Sets the line width (in px).
        r   r   s    r   _prop_descriptionsLine._prop_descriptions   s    r   c	           	        > [         T
U ]  S5        SU	;   a  U	S   U l        gUc  0 nOb[        XR                  5      (       a  UR                  5       nO7[        U[        5      (       a  [        R                  " U5      nO[        S5      eU	R                  SS5      U l        U	R                  SS5      U l        U R                  S	X5        U R                  S
X5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  " S0 [        U40 U	D6D6  SU l        g)a  
Construct a new Line object

Parameters
----------
arg
    dict of properties compatible with this constructor or
    an instance of
    :class:`plotly.graph_objs.scatterternary.Line`
backoff
    Sets the line back off from the end point of the nth
    line segment (in px). This option is useful e.g. to
    avoid overlap with arrowhead markers. With "auto" the
    lines would trim before markers if `marker.angleref` is
    set to "previous".
backoffsrc
    Sets the source reference on Chart Studio Cloud for
    `backoff`.
color
    Sets the line color.
dash
    Sets the dash style of lines. Set to a dash type string
    ("solid", "dot", "dash", "longdash", "dashdot", or
    "longdashdot") or a dash length list in px (eg
    "5px,10px,2px,2px").
shape
    Determines the line shape. With "spline" the lines are
    drawn using spline interpolation. The other available
    values correspond to step-wise line shapes.
smoothing
    Has an effect only if `shape` is set to "spline" Sets
    the amount of smoothing. 0 corresponds to no smoothing
    (equivalent to a "linear" shape).
width
    Sets the line width (in px).

Returns
-------
Line
line_parentNzThe first argument to the plotly.graph_objs.scatterternary.Line
constructor must be a dict or
an instance of :class:`plotly.graph_objs.scatterternary.Line`skip_invalidF	_validateTr   r   r	   r   r
   r   r   r   )super__init__r1   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr3   _set_property_process_kwargs)r   argr   r   r	   r   r
   r   r   kwargsr7   s             r   r5   Line.__init__   s8   h 	 !),DL;C^^,,$$&CT""**S/CA  $ZZ>K69c3<97C/63-7C/;77C/3tC2623"r   )r1   r>   r3   )NNNNNNNN)__name__
__module____qualname____firstlineno___parent_path_str	_path_str_valid_propspropertyr   setterr   r	   r   r
   r   r   r-   r5   __static_attributes____classcell__)r7   s   @r   r   r      s   '%IL  " ^^  " " ! !  " \\   & 
[[     \\  ! !       \\   @ R# R#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper;   r:   r   r   r   r   <module>rQ      s    S P#" P#r   