
    ~i                     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 )Yzvolume.capszvolume.caps.yfillshowc                     | d         S )a  
        Sets the fill ratio of the `caps`. The default fill value of
        the `caps` 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    selfs    T/home/jrussi/.local/lib/python3.11/site-packages/plotly/graph_objs/volume/caps/_y.pyr   zY.fill        F|    c                     || d<   d S )Nr   r	   r   vals     r   r   zY.fill       Vr   c                     | d         S )a  
        Sets the fill ratio of the `slices`. The default fill value of
        the y `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.

        The 'show' property is a boolean and must be specified as:
          - A boolean value: True or False

        Returns
        -------
        bool
        r   r	   r
   s    r   r   zY.show"   r   r   c                     || d<   d S )Nr   r	   r   s     r   r   zY.show3   r   r   c                     dS )Nap          fill
            Sets the fill ratio of the `caps`. The default fill
            value of the `caps` 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.
        show
            Sets the fill ratio of the `slices`. The default fill
            value of the y `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.
        r	   r
   s    r   _prop_descriptionszY._prop_descriptions7   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 )aw  
        Construct a new Y object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of :class:`plotly.graph_objs.volume.caps.Y`
        fill
            Sets the fill ratio of the `caps`. The default fill
            value of the `caps` 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.
        show
            Sets the fill ratio of the `slices`. The default fill
            value of the y `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.

        Returns
        -------
        Y
        y_parentNzThe first argument to the plotly.graph_objs.volume.caps.Y
constructor must be a dict or
an instance of :class:`plotly.graph_objs.volume.caps.Y`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
Y.__init__H   s8   4 	!),DLF;CCT^,, 	<$$&&CCT"" 	<*S//CC ; < < <
 $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 1# 1# 1# 1# 1# 1# 1# 1# 1# 1#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper#   r"   r   r	   r   r   <module>r6      se    S R R R R R    q# q# q# q# q# q# q# q# q# q#r   