
    Ncg                     .    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 )Slices
isosurfacezisosurface.slices>   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.isosurface.slices.X`
          - A dict of string/value properties that will be passed
            to the X constructor

            Supported dict properties:

                fill
                    Sets the fill ratio of the `slices`. The
                    default fill value of the `slices` is 1 meaning
                    that they are entirely shaded. On the other
                    hand Applying a `fill` ratio less than one
                    would allow the creation of openings parallel
                    to the edges.
                locations
                    Specifies the location(s) of slices on the
                    axis. When not specified slices would be
                    created for all points of the axis x except
                    start and end.
                locationssrc
                    Sets the source reference on Chart Studio Cloud
                    for `locations`.
                show
                    Determines whether or not slice planes about
                    the x dimension are drawn.

        Returns
        -------
        plotly.graph_objs.isosurface.slices.X
        r    selfs    _/var/www/html/bid-api/venv/lib/python3.12/site-packages/plotly/graph_objs/isosurface/_slices.pyr   zSlices.x       D Cy    c                     || d<   y )Nr   r   r   vals     r   r   zSlices.x3       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.isosurface.slices.Y`
          - A dict of string/value properties that will be passed
            to the Y constructor

            Supported dict properties:

                fill
                    Sets the fill ratio of the `slices`. The
                    default fill value of the `slices` is 1 meaning
                    that they are entirely shaded. On the other
                    hand Applying a `fill` ratio less than one
                    would allow the creation of openings parallel
                    to the edges.
                locations
                    Specifies the location(s) of slices on the
                    axis. When not specified slices would be
                    created for all points of the axis y except
                    start and end.
                locationssrc
                    Sets the source reference on Chart Studio Cloud
                    for `locations`.
                show
                    Determines whether or not slice planes about
                    the y dimension are drawn.

        Returns
        -------
        plotly.graph_objs.isosurface.slices.Y
        r   r   r   s    r   r   zSlices.y9   r   r   c                     || d<   y )Nr   r   r   s     r   r   zSlices.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.isosurface.slices.Z`
          - A dict of string/value properties that will be passed
            to the Z constructor

            Supported dict properties:

                fill
                    Sets the fill ratio of the `slices`. The
                    default fill value of the `slices` is 1 meaning
                    that they are entirely shaded. On the other
                    hand Applying a `fill` ratio less than one
                    would allow the creation of openings parallel
                    to the edges.
                locations
                    Specifies the location(s) of slices on the
                    axis. When not specified slices would be
                    created for all points of the axis z except
                    start and end.
                locationssrc
                    Sets the source reference on Chart Studio Cloud
                    for `locations`.
                show
                    Determines whether or not slice planes about
                    the z dimension are drawn.

        Returns
        -------
        plotly.graph_objs.isosurface.slices.Z
        r	   r   r   s    r   r	   zSlices.zc   r   r   c                     || d<   y )Nr	   r   r   s     r   r	   zSlices.z   r   r   c                      y)Na          x
            :class:`plotly.graph_objects.isosurface.slices.X`
            instance or dict with compatible properties
        y
            :class:`plotly.graph_objects.isosurface.slices.Y`
            instance or dict with compatible properties
        z
            :class:`plotly.graph_objects.isosurface.slices.Z`
            instance or dict with compatible properties
        r   r   s    r   _prop_descriptionszSlices._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 Slices object

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

        Returns
        -------
        Slices
        slices_parentNzThe first argument to the plotly.graph_objs.isosurface.Slices
constructor must be a dict or
an instance of :class:`plotly.graph_objs.isosurface.Slices`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Slices.__init__   sI   0 	fd$X.!),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 ! !F XX 
 ! !F XX 
 ! !F XX 
  H# H#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper'   r&   r   r   r   r   <module>r:      s    R ^#$ ^#r   