
    cn$                     6    d dl mZ d dlZ G d de          ZdS )    )BaseTraceHierarchyTypeNc                   `    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	 	 	 	 	 	 d fd	Z xZS )Linescattercarpetzscattercarpet.line>   dashcolorshapewidth	smoothingc                     | d         S )a
  
        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:
                aliceblue, antiquewhite, aqua, aquamarine, azure,
                beige, bisque, black, blanchedalmond, blue,
                blueviolet, brown, burlywood, cadetblue,
                chartreuse, chocolate, coral, cornflowerblue,
                cornsilk, crimson, cyan, darkblue, darkcyan,
                darkgoldenrod, darkgray, darkgrey, darkgreen,
                darkkhaki, darkmagenta, darkolivegreen, darkorange,
                darkorchid, darkred, darksalmon, darkseagreen,
                darkslateblue, darkslategray, darkslategrey,
                darkturquoise, darkviolet, deeppink, deepskyblue,
                dimgray, dimgrey, dodgerblue, firebrick,
                floralwhite, forestgreen, fuchsia, gainsboro,
                ghostwhite, gold, goldenrod, gray, grey, green,
                greenyellow, honeydew, hotpink, indianred, indigo,
                ivory, khaki, lavender, lavenderblush, lawngreen,
                lemonchiffon, lightblue, lightcoral, lightcyan,
                lightgoldenrodyellow, lightgray, lightgrey,
                lightgreen, lightpink, lightsalmon, lightseagreen,
                lightskyblue, lightslategray, lightslategrey,
                lightsteelblue, lightyellow, lime, limegreen,
                linen, magenta, maroon, mediumaquamarine,
                mediumblue, mediumorchid, mediumpurple,
                mediumseagreen, mediumslateblue, mediumspringgreen,
                mediumturquoise, mediumvioletred, midnightblue,
                mintcream, mistyrose, moccasin, navajowhite, navy,
                oldlace, olive, olivedrab, orange, orangered,
                orchid, palegoldenrod, palegreen, paleturquoise,
                palevioletred, papayawhip, peachpuff, peru, pink,
                plum, powderblue, purple, red, rosybrown,
                royalblue, rebeccapurple, saddlebrown, salmon,
                sandybrown, seagreen, seashell, sienna, silver,
                skyblue, slateblue, slategray, slategrey, snow,
                springgreen, steelblue, tan, teal, thistle, tomato,
                turquoise, violet, wheat, white, whitesmoke,
                yellow, yellowgreen

        Returns
        -------
        str
        r    selfs    Elib/python3.11/site-packages/plotly/graph_objs/scattercarpet/_line.pyr   z
Line.color   s    f G}    c                     || d<   d S )Nr   r   r   vals     r   r   z
Line.colorD       Wr   c                     | d         S )ae  
        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   z	Line.dashJ   s    $ F|r   c                     || d<   d S )Nr   r   r   s     r   r   z	Line.dash^   s    Vr   c                     | d         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	   z
Line.shaped   s     G}r   c                     || d<   d S )Nr	   r   r   s     r   r	   z
Line.shapeu   r   r   c                     | d         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   zLine.smoothing{   s     K  r   c                     || d<   d S )Nr   r   r   s     r   r   zLine.smoothing   s    [r   c                     | d         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
   z
Line.width   s     G}r   c                     || d<   d S )Nr
   r   r   s     r   r
   z
Line.width   r   r   c                     dS )Na          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_descriptionszLine._prop_descriptions   s     r   Nc           	      V   t          t          |                               d           d|v r|d         | _        dS |i }nct	          || j                  r|                                }n9t	          |t                    rt          j	        |          }nt          d          |                    dd          | _        |                    dd          | _        |                    d	d          }||n|}||| d	<   |                    d
d          }||n|}||| d
<   |                    dd          }||n|}||| d<   |                    dd          }||n|}||| d<   |                    dd          }||n|}||| d<    | j        di t          |fi | d| _        dS )a  
        Construct a new Line object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.scattercarpet.Line`
        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.scattercarpet.Line
constructor must be a dict or
an instance of :class:`plotly.graph_objs.scattercarpet.Line`skip_invalidF	_validateTr   r   r	   r   r
   r   )superr   __init__r"   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr$   _process_kwargs)
r   argr   r   r	   r   r
   kwargs_vr(   s
            r   r&   zLine.__init__   s   R 	dD""6*** 	!),DLF  	CCT^,, 
	$$&&CCT"" 	*S//CC@   $ZZ>>K66 WWWd##/UUR 	DMWWVT""-TT2 	DLWWWd##/UUR 	DMWW[$''#7YYR 	# "DWWWd##/UUR 	DM 	33tC22622333 #r   )NNNNNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr   setterr   r	   r   r
   r   r&   __classcell__)r(   s   @r   r   r      s        '$ICCCL 2 2 X2h \  \
   X& 
[  [
   X  \  \
 ! ! X!      
   X \  \
   X. a# a# a# a# a# a# a# a# a# a#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper,   r+   r   r   r   r   <module>r?      sb    R R R R R R    W# W# W# W# W#" W# W# W# W# W#r   