
    ~i='                     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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	 	 	 	 	 	 	 	 	 	 	 	 d fd	Z xZS )Zzsurface.contourszsurface.contours.z>   endshowsizecolorstartwidthproject	highlightusecolormaphighlightcolorhighlightwidthc                     | d         S )a  
        Sets the color of the contour lines.

        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	    selfs    Y/home/jrussi/.local/lib/python3.11/site-packages/plotly/graph_objs/surface/contours/_z.pyr	   zZ.color   s      G}    c                     || d<   d S )Nr	   r   r   vals     r   r	   zZ.color+       Wr   c                     | d         S )z
        Sets the end contour level value. Must be more than
        `contours.start`

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

        Returns
        -------
        int|float
        r   r   r   s    r   r   zZ.end/   s     E{r   c                     || d<   d S )Nr   r   r   s     r   r   zZ.end>   s    Ur   c                     | d         S )a  
        Determines whether or not contour lines about the z dimension
        are highlighted on hover.

        The 'highlight' property is a boolean and must be specified as:
          - A boolean value: True or False

        Returns
        -------
        bool
        r   r   r   s    r   r   zZ.highlightB   s     K  r   c                     || d<   d S )Nr   r   r   s     r   r   zZ.highlightQ   s    [r   c                     | d         S )a  
        Sets the color of the highlighted contour lines.

        The 'highlightcolor' 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Z.highlightcolorU   s      $%%r   c                     || d<   d S )Nr   r   r   s     r   r   zZ.highlightcolorg       !$r   c                     | d         S )z
        Sets the width of the highlighted contour lines.

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

        Returns
        -------
        int|float
        r   r   r   s    r   r   zZ.highlightwidthk   s     $%%r   c                     || d<   d S )Nr   r   r   s     r   r   zZ.highlightwidthy   r!   r   c                     | d         S )at  
        The 'project' property is an instance of Project
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.surface.contours.z.Project`
          - A dict of string/value properties that will be passed
            to the Project constructor

        Returns
        -------
        plotly.graph_objs.surface.contours.z.Project
        r   r   r   s    r   r   z	Z.project}   s     Ir   c                     || d<   d S )Nr   r   r   s     r   r   z	Z.project   s    Yr   c                     | d         S )z
        Determines whether or not contour lines about the z dimension
        are drawn.

        The 'show' property is a boolean and must be specified as:
          - A boolean value: True or False

        Returns
        -------
        bool
        r   r   r   s    r   r   zZ.show   s     F|r   c                     || d<   d S )Nr   r   r   s     r   r   zZ.show       Vr   c                     | d         S )z
        Sets the step between each contour level. Must be positive.

        The 'size' 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Z.size   s     F|r   c                     || d<   d S )Nr   r   r   s     r   r   zZ.size   r(   r   c                     | d         S )z
        Sets the starting contour level value. Must be less than
        `contours.end`

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

        Returns
        -------
        int|float
        r
   r   r   s    r   r
   zZ.start   s     G}r   c                     || d<   d S )Nr
   r   r   s     r   r
   zZ.start   r   r   c                     | d         S )a,  
        An alternate to "color". Determines whether or not the contour
        lines are colored using the trace "colorscale".

        The 'usecolormap' property is a boolean and must be specified as:
          - A boolean value: True or False

        Returns
        -------
        bool
        r   r   r   s    r   r   zZ.usecolormap   s     M""r   c                     || d<   d S )Nr   r   r   s     r   r   zZ.usecolormap   s    !]r   c                     | d         S )z
        Sets the width of the contour lines.

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

        Returns
        -------
        int|float
        r   r   r   s    r   r   zZ.width   s     G}r   c                     || d<   d S )Nr   r   r   s     r   r   zZ.width   r   r   c                     dS )Na          color
            Sets the color of the contour lines.
        end
            Sets the end contour level value. Must be more than
            `contours.start`
        highlight
            Determines whether or not contour lines about the z
            dimension are highlighted on hover.
        highlightcolor
            Sets the color of the highlighted contour lines.
        highlightwidth
            Sets the width of the highlighted contour lines.
        project
            :class:`plotly.graph_objects.surface.contours.z.Project
            ` instance or dict with compatible properties
        show
            Determines whether or not contour lines about the z
            dimension are drawn.
        size
            Sets the step between each contour level. Must be
            positive.
        start
            Sets the starting contour level value. Must be less
            than `contours.end`
        usecolormap
            An alternate to "color". Determines whether or not the
            contour lines are colored using the trace "colorscale".
        width
            Sets the width of the contour lines.
        r   r   s    r   _prop_descriptionszZ._prop_descriptions   s     r   Nc           	         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
||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||	           |                     d||
           |                     d||           |                     d||            | j        di t          |fi | d| _        dS )a  
        Construct a new Z object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.surface.contours.Z`
        color
            Sets the color of the contour lines.
        end
            Sets the end contour level value. Must be more than
            `contours.start`
        highlight
            Determines whether or not contour lines about the z
            dimension are highlighted on hover.
        highlightcolor
            Sets the color of the highlighted contour lines.
        highlightwidth
            Sets the width of the highlighted contour lines.
        project
            :class:`plotly.graph_objects.surface.contours.z.Project
            ` instance or dict with compatible properties
        show
            Determines whether or not contour lines about the z
            dimension are drawn.
        size
            Sets the step between each contour level. Must be
            positive.
        start
            Sets the starting contour level value. Must be less
            than `contours.end`
        usecolormap
            An alternate to "color". Determines whether or not the
            contour lines are colored using the trace "colorscale".
        width
            Sets the width of the contour lines.

        Returns
        -------
        Z
        z_parentNzThe first argument to the plotly.graph_objs.surface.contours.Z
constructor must be a dict or
an instance of :class:`plotly.graph_objs.surface.contours.Z`skip_invalidF	_validateTr	   r   r   r   r   r   r   r   r
   r   r   r   )super__init__r5   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr7   _set_property_process_kwargs)r   argr	   r   r   r   r   r   r   r   r
   r   r   kwargsr;   s                 r   r9   z
Z.__init__  s   v 	!),DLF;CCT^,, 	A$$&&CCT"" 	A*S//CC @ A A A
 $ZZ>>K667C///5#s+++;Y777+S.AAA+S.AAA9c733363---63---7C///=#{;;;7C///33tC22622333"r   )NNNNNNNNNNNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr	   setterr   r   r   r   r   r   r   r
   r   r   r2   r9   __classcell__)r;   s   @r   r   r      s       )$I  L   X" \  \   X 	Z  Z ! ! X!       & & X&" % % % & & X& % % %   X ^  ^   X 
[  [   X 
[  [   X \  \ # # X# " " "   X \  \   XF [# [# [# [# [# [# [# [# [# [#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper?   r>   r   r   r   r   <module>rR      se    S R R R R R    b# b# b# b# b# b# b# b# b# b#r   