
    Wh                      .    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volumezvolume.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/jupyter_env/lib/python3.12/site-packages/plotly/graph_objs/volume/_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.fill3       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.pattern7   s    * Ir   c                     || d<   y )Nr
   r   r   s     r   r
   zSurface.patternN   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.showR   s     F|r   c                     || d<   y )Nr   r   r   s     r   r   zSurface.show`   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_descriptionsd   s    r   c           	      6   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	||       | j                  d
||       | j                  d||       | j                  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.volume.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.volume.Surface
constructor must be a dict or
an instance of :class:`plotly.graph_objs.volume.Surface`skip_invalidF	_validateTr	   r   r
   r   r   )super__init__r   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr!   _set_property_process_kwargs)r   argr	   r   r
   r   kwargsr%   s          r   r#   zSurface.__init__   s   P 	#!),DL;CT^^,$$&CT"**S/C < = =
 $ZZ>K67C/63-9c7363-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A# A#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper)   r(   r   r   r   r   <module>r<      s    S y#% y#r   