o
    „õ­d^  ã                   @   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h d£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ejdd„ ƒZedd„ ƒZ	d‡ fdd„	Z‡  ZS )ÚSurfaceÚvolumezvolume.surface>   ÚfillÚshowÚcountÚpatternc                 C   ó   | 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   © ©Úselfr
   r
   úf/var/www/html/visualizacion-main/env/lib/python3.10/site-packages/plotly/graph_objs/volume/_surface.pyr      ó   zSurface.countc                 C   ó   || d< d S )Nr   r
   ©r   Úvalr
   r
   r   r       ó   c                 C   r	   )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   r
   r
   r   r   &   r   zSurface.fillc                 C   r   )Nr   r
   r   r
   r
   r   r   7   r   c                 C   r	   )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   r
   r
   r   r   =   s   zSurface.patternc                 C   r   )Nr   r
   r   r
   r
   r   r   T   r   c                 C   r	   )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   r
   r
   r   r   Z   s   zSurface.showc                 C   r   )Nr   r
   r   r
   r
   r   r   h   r   c                 C   s   dS )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   r
   r
   r   Ú_prop_descriptionsn   s   zSurface._prop_descriptionsNc                    sZ  t t| ƒ d¡ d|v r|d | _dS |du ri }nt|| jƒr%| ¡ }nt|tƒr0t 	|¡}nt
dƒ‚| dd¡| _| dd¡| _| d	d¡}|durN|n|}|durX|| d	< | d
d¡}|durd|n|}|durn|| d
< | dd¡}|durz|n|}|dur„|| d< | dd¡}|dur|n|}|durš|| d< | jdi t|fi |¤Ž¤Ž d| _dS )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Ú_parentNz‘The 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
   )Úsuperr   Ú__init__r   Ú
isinstanceÚ	__class__Úto_plotly_jsonÚdictÚ_copyÚcopyÚ
ValueErrorÚpopÚ_skip_invalidr   Ú_process_kwargs)r   Úargr   r   r   r   ÚkwargsÚ_v©r   r
   r   r   Š   sB   (


ÿ	
zSurface.__init__)NNNNN)Ú__name__Ú
__module__Ú__qualname__Ú_parent_path_strÚ	_path_strÚ_valid_propsÚpropertyr   Úsetterr   r   r   r   r   Ú__classcell__r
   r
   r'   r   r      s0    








ÿr   )Úplotly.basedatatypesr   Ú_BaseTraceHierarchyTyper   r   r   r
   r
   r
   r   Ú<module>   s    