
    Ncgr                     .    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ej                  d        Zed        Z	 d fd	Z xZS )Surface
isosurfacezisosurface.surface>   fillshowcountpatternc                     | d   S )a  
        Sets the number of iso-surfaces between minimum and maximum
        iso-values. By default this value is 2 meaning that only
        minimum and maximum surfaces would be drawn.

        The 'count' property is a integer and may be specified as:
          - An int (or float that will be cast to an int)
            in the interval [1, 9223372036854775807]

        Returns
        -------
        int
        r	    selfs    `/var/www/html/bid-api/venv/lib/python3.12/site-packages/plotly/graph_objs/isosurface/_surface.pyr	   zSurface.count   s     G}    c                     || d<   y )Nr	   r   r   vals     r   r	   zSurface.count    s    Wr   c                     | d   S )a  
        Sets the fill ratio of the iso-surface. The default fill value
        of the surface 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.

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

        Returns
        -------
        int|float
        r   r   r   s    r   r   zSurface.fill&   s     F|r   c                     || d<   y )Nr   r   r   s     r   r   zSurface.fill7       Vr   c                     | d   S )a/  
        Sets the surface pattern of the iso-surface 3-D sections. The
        default pattern of the surface is `all` meaning that the rest
        of surface elements would be shaded. The check options (either
        1 or 2) could be used to draw half of the squares on the
        surface. Using various combinations of capital `A`, `B`, `C`,
        `D` and `E` may also be used to reduce the number of triangles
        on the iso-surfaces and creating other patterns of interest.

        The 'pattern' property is a flaglist and may be specified
        as a string containing:
          - Any combination of ['A', 'B', 'C', 'D', 'E'] joined with '+' characters
            (e.g. 'A+B')
            OR exactly one of ['all', 'odd', 'even'] (e.g. 'even')

        Returns
        -------
        Any
        r
   r   r   s    r   r
   zSurface.pattern=   s    * Ir   c                     || d<   y )Nr
   r   r   s     r   r
   zSurface.patternT   s    Yr   c                     | d   S )z
        Hides/displays surfaces between minimum and maximum iso-values.

        The 'show' property must be specified as a bool
        (either True, or False)

        Returns
        -------
        bool
        r   r   r   s    r   r   zSurface.showZ   s     F|r   c                     || d<   y )Nr   r   r   s     r   r   zSurface.showh   r   r   c                      y)Na          count
            Sets the number of iso-surfaces between minimum and
            maximum iso-values. By default this value is 2 meaning
            that only minimum and maximum surfaces would be drawn.
        fill
            Sets the fill ratio of the iso-surface. The default
            fill value of the surface 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.
        pattern
            Sets the surface pattern of the iso-surface 3-D
            sections. The default pattern of the surface is `all`
            meaning that the rest of surface elements would be
            shaded. The check options (either 1 or 2) could be used
            to draw half of the squares on the surface. Using
            various combinations of capital `A`, `B`, `C`, `D` and
            `E` may also be used to reduce the number of triangles
            on the iso-surfaces and creating other patterns of
            interest.
        show
            Hides/displays surfaces between minimum and maximum
            iso-values.
        r   r   s    r   _prop_descriptionszSurface._prop_descriptionsn   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d      }||n|}||| d<    | j                  di t        |fi | d| _        y)a  
        Construct a new Surface object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.isosurface.Surface`
        count
            Sets the number of iso-surfaces between minimum and
            maximum iso-values. By default this value is 2 meaning
            that only minimum and maximum surfaces would be drawn.
        fill
            Sets the fill ratio of the iso-surface. The default
            fill value of the surface 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.
        pattern
            Sets the surface pattern of the iso-surface 3-D
            sections. The default pattern of the surface is `all`
            meaning that the rest of surface elements would be
            shaded. The check options (either 1 or 2) could be used
            to draw half of the squares on the surface. Using
            various combinations of capital `A`, `B`, `C`, `D` and
            `E` may also be used to reduce the number of triangles
            on the iso-surfaces and creating other patterns of
            interest.
        show
            Hides/displays surfaces between minimum and maximum
            iso-values.

        Returns
        -------
        Surface
        surface_parentNzThe first argument to the plotly.graph_objs.isosurface.Surface
constructor must be a dict or
an instance of :class:`plotly.graph_objs.isosurface.Surface`skip_invalidF	_validateTr	   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   kwargs_vr%   s	           r   r#   zSurface.__init__   sx   P 	gt%i0!),DL ;CT^^,$$&CT"**S/C@  $ZZ>K6 WWWd#'UR>DMWWVT"%T2>DLWWY%+W> DOWWVT"%T2>DL 	3tC2623 #r   )NNNNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr	   setterr   r
   r   r   r#   __classcell__)r%   s   @r   r   r      s     $$I7L    \\ 
    
[[ 
  , ^^ 
   
[[ 
  8 CG\# \#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper)   r(   r   r   r   r   <module>r<      s    R a#% a#r   