
    gI#                     .    d dl mZ d dlZ G d de      Zy)    )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d fd	Z xZS )Contourssurfacezsurface.contours>   xyzc                     | d   S )a*  
        The 'x' property is an instance of X
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.surface.contours.X`
          - A dict of string/value properties that will be passed
            to the X constructor

            Supported dict properties:

                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 x 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.x
                    .Project` instance or dict with compatible
                    properties
                show
                    Determines whether or not contour lines about
                    the x 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
        -------
        plotly.graph_objs.surface.contours.X
        r    selfs    `/var/www/dash_apps/app1/venv/lib/python3.12/site-packages/plotly/graph_objs/surface/_contours.pyr   z
Contours.x       b Cy    c                     || d<   y )Nr   r   r   vals     r   r   z
Contours.xB       S	r   c                     | d   S )a*  
        The 'y' property is an instance of Y
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.surface.contours.Y`
          - A dict of string/value properties that will be passed
            to the Y constructor

            Supported dict properties:

                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 y 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.y
                    .Project` instance or dict with compatible
                    properties
                show
                    Determines whether or not contour lines about
                    the y 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
        -------
        plotly.graph_objs.surface.contours.Y
        r   r   r   s    r   r   z
Contours.yH   r   r   c                     || d<   y )Nr   r   r   s     r   r   z
Contours.y{   r   r   c                     | d   S )a*  
        The 'z' property is an instance of Z
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.surface.contours.Z`
          - A dict of string/value properties that will be passed
            to the Z constructor

            Supported dict properties:

                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
        -------
        plotly.graph_objs.surface.contours.Z
        r	   r   r   s    r   r	   z
Contours.z   r   r   c                     || d<   y )Nr	   r   r   s     r   r	   z
Contours.z   r   r   c                      y)Na          x
            :class:`plotly.graph_objects.surface.contours.X`
            instance or dict with compatible properties
        y
            :class:`plotly.graph_objects.surface.contours.Y`
            instance or dict with compatible properties
        z
            :class:`plotly.graph_objects.surface.contours.Z`
            instance or dict with compatible properties
        r   r   s    r   _prop_descriptionszContours._prop_descriptions   s    
r   c           	      `   t         t        |   d       d|v r|d   | _        y|i }nXt	        || j
                        r|j                         }n1t	        |t              rt        j                  |      }nt        d      |j                  dd      | _        |j                  dd      | _        |j                  d	d      }||n|}||| d	<   |j                  d
d      }||n|}||| d
<   |j                  dd      }||n|}||| d<    | j                  di t        |fi | d| _        y)a  
        Construct a new Contours object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.surface.Contours`
        x
            :class:`plotly.graph_objects.surface.contours.X`
            instance or dict with compatible properties
        y
            :class:`plotly.graph_objects.surface.contours.Y`
            instance or dict with compatible properties
        z
            :class:`plotly.graph_objects.surface.contours.Z`
            instance or dict with compatible properties

        Returns
        -------
        Contours
        contours_parentNzThe first argument to the plotly.graph_objs.surface.Contours
constructor must be a dict or
an instance of :class:`plotly.graph_objs.surface.Contours`skip_invalidF	_validateTr   r   r	   r   )superr   __init__r   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr   _process_kwargs)r   argr   r   r	   kwargs_vr#   s          r   r!   zContours.__init__   sI   0 	h&z2!),DL ;CT^^,$$&CT"**S/C>  $ZZ>K6 WWS$-QR>DIWWS$-QR>DIWWS$-QR>DI 	3tC2623 #r   )NNNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr   setterr   r	   r   r!   __classcell__)r#   s   @r   r   r      s     !"I"L 0 0d XX 
 0 0d XX 
 0 0d XX 
  H# H#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper'   r&   r   r   r   r   <module>r:      s    R K#& K#r   