
    g                     .    d dl mZ d dlZ G d de      Zy)    )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 )Xzvolume.capszvolume.caps.x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    ]/var/www/dash_apps/app1/venv/lib/python3.12/site-packages/plotly/graph_objs/volume/caps/_x.pyr   zX.fill        F|    c                     || d<   y )Nr   r	   r   vals     r   r   zX.fill        Vr   c                     | d   S )a  
        Sets the fill ratio of the `slices`. The default fill value of
        the x `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 must be specified as a bool
        (either True, or False)

        Returns
        -------
        bool
        r   r	   r
   s    r   r   zX.show&   r   r   c                     || d<   y )Nr   r	   r   s     r   r   zX.show7   r   r   c                      y)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 x `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X._prop_descriptions=   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i t        |fi | d| _        y)aw  
        Construct a new X object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of :class:`plotly.graph_objs.volume.caps.X`
        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 x `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
        -------
        X
        x_parentNzThe first argument to the plotly.graph_objs.volume.caps.X
constructor must be a dict or
an instance of :class:`plotly.graph_objs.volume.caps.X`skip_invalidF	_validateTr   r   r	   )superr   __init__r   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr   _process_kwargs)r   argr   r   kwargs_vr   s         r   r   z
X.__init__N   s"   4 	a$!),DL ;CT^^,$$&CT"**S/C;  $ZZ>K6 WWVT"%T2>DLWWVT"%T2>DL 	3tC262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    
[[ 
    
[[ 
   F# F#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper#   r"   r   r	   r   r   <module>r6      s    R O# O#r   