U
    Y»{jI#  ã                   @   s(   d dl mZ d dlZG dd„ deƒZdS )é    )ÚBaseTraceHierarchyTypeNc                       sŠ   e Zd ZdZdZdddhZedd„ ƒZejdd„ ƒZed	d
„ ƒZ	e	jdd
„ ƒZ	edd„ ƒZ
e
jdd„ ƒZ
edd„ ƒZd‡ fdd„	Z‡  ZS )ÚContoursZsurfacezsurface.contoursÚxÚyÚzc                 C   s   | 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   © ©Úselfr   r   úb/var/www/html/bwave/python/venv/lib/python3.8/site-packages/plotly/graph_objs/surface/_contours.pyr      s    1z
Contours.xc                 C   s   || d< d S )Nr   r   ©r	   Úvalr   r   r
   r   B   s    c                 C   s   | 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   r   r   r
   r   H   s    1z
Contours.yc                 C   s   || d< d S )Nr   r   r   r   r   r
   r   {   s    c                 C   s   | 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   r   r   r
   r   �   s    1z
Contours.zc                 C   s   || d< d S )Nr   r   r   r   r   r
   r   ´   s    c                 C   s   dS )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   r   r   r
   Ú_prop_descriptionsº   s    zContours._prop_descriptionsNc                    s(  t t| ƒ d¡ d|kr&|d | _dS |dkr4i }n4t|| jƒrJ| ¡ }nt|tƒr`t 	|¡}nt
dƒ‚| dd¡| _| dd¡| _| d	d¡}|dk	rœ|n|}|dk	r°|| d	< | d
d¡}|dk	rÈ|n|}|dk	rÜ|| d
< | dd¡}|dk	rô|n|}|dk	�r
|| d< | jf t|f|ŽŽ d| _dS )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
        ZcontoursÚ_parentNz•The first argument to the plotly.graph_objs.surface.Contours
constructor must be a dict or
an instance of :class:`plotly.graph_objs.surface.Contours`Zskip_invalidFÚ	_validateTr   r   r   )Úsuperr   Ú__init__r   Ú
isinstanceÚ	__class__Zto_plotly_jsonÚdictÚ_copyÚcopyÚ
ValueErrorÚpopZ_skip_invalidr   Z_process_kwargs)r	   Úargr   r   r   ÚkwargsÚ_v©r   r   r
   r   È   s:    


ÿ	
zContours.__init__)NNNN)Ú__name__Ú
__module__Ú__qualname__Z_parent_path_strZ	_path_strZ_valid_propsÚpropertyr   Úsetterr   r   r   r   Ú__classcell__r   r   r   r
   r      s$   

2

2

2

r   )Zplotly.basedatatypesr   Z_BaseTraceHierarchyTyper   r   r   r   r   r   r
   Ú<module>   s   