
    -Ph                     6    d dl mZ d dlZ G d de          ZdS )    )BaseTraceHierarchyTypeNc                        e Zd ZdZdZddh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 )
Spaceframe
isosurfacezisosurface.spaceframefillshowc                     | d         S )a	  
        Sets the fill ratio of the `spaceframe` elements. The default
        fill value is 0.15 meaning that only 15% of the area of every
        faces of tetras would be shaded. Applying a greater `fill`
        ratio would allow the creation of stronger elements or could be
        sued to have entirely closed areas (in case of using 1).

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

        Returns
        -------
        int|float
        r    selfs    h/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/plotly/graph_objs/isosurface/_spaceframe.pyr   zSpaceframe.fill   s      F|    c                     || d<   d S )Nr   r
   r   vals     r   r   zSpaceframe.fill        Vr   c                     | d         S )aL  
        Displays/hides tetrahedron shapes between minimum and maximum
        iso-values. Often useful when either caps or surfaces are
        disabled or filled with values less than 1.

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

        Returns
        -------
        bool
        r   r
   r   s    r   r   zSpaceframe.show$   s     F|r   c                     || d<   d S )Nr   r
   r   s     r   r   zSpaceframe.show4   r   r   c                     dS )Nan          fill
            Sets the fill ratio of the `spaceframe` elements. The
            default fill value is 0.15 meaning that only 15% of the
            area of every faces of tetras would be shaded. Applying
            a greater `fill` ratio would allow the creation of
            stronger elements or could be sued to have entirely
            closed areas (in case of using 1).
        show
            Displays/hides tetrahedron shapes between minimum and
            maximum iso-values. Often useful when either caps or
            surfaces are disabled or filled with values less than
            1.
        r
   r   s    r   _prop_descriptionszSpaceframe._prop_descriptions8   s     r   Nc           	      F   t                                          d           d|v r|d         | _        dS |i }nct          || j                  r|                                }n9t          |t                    rt          j        |          }nt          d          |
                    dd          | _        |
                    dd          | _        |                     d	||           |                     d
||            | j        di t          |fi | d| _        dS )a  
        Construct a new Spaceframe object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.isosurface.Spaceframe`
        fill
            Sets the fill ratio of the `spaceframe` elements. The
            default fill value is 0.15 meaning that only 15% of the
            area of every faces of tetras would be shaded. Applying
            a greater `fill` ratio would allow the creation of
            stronger elements or could be sued to have entirely
            closed areas (in case of using 1).
        show
            Displays/hides tetrahedron shapes between minimum and
            maximum iso-values. Often useful when either caps or
            surfaces are disabled or filled with values less than
            1.

        Returns
        -------
        Spaceframe
        
spaceframe_parentNzThe first argument to the plotly.graph_objs.isosurface.Spaceframe
constructor must be a dict or
an instance of :class:`plotly.graph_objs.isosurface.Spaceframe`skip_invalidF	_validateTr   r   r
   )super__init__r   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr   _set_property_process_kwargs)r   argr   r   kwargsr   s        r   r   zSpaceframe.__init__I   s9   6 	&&&!),DLF;CCT^,, 
	$$&&CCT"" 	*S//CCC   $ZZ>>K6663---63---33tC22622333"r   )NNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr   setterr   r   r   __classcell__)r   s   @r   r   r      s        #'IF#L  X" 
[  [   X 
[  [   X 4# 4# 4# 4# 4# 4# 4# 4# 4# 4#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper#   r"   r   r
   r   r   <module>r6      se    S R R R R R    u# u# u# u# u#( u# u# u# u# u#r   