
    Wh3                     .    d dl mZ d dlZ G d de      Zy)    )BaseTraceHierarchyTypeNc                   P    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ej                  d        Zed        Z	 	 	 	 	 	 d fd	Z xZS )Pathbariciclezicicle.pathbar>   sidevisibletextfont	edgeshape	thicknessc                     | d   S )a6  
        Determines which shape is used for edges between `barpath`
        labels.

        The 'edgeshape' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['>', '<', '|', '/', '\']

        Returns
        -------
        Any
        r
    selfs    [/var/www/html/jupyter_env/lib/python3.12/site-packages/plotly/graph_objs/icicle/_pathbar.pyr
   zPathbar.edgeshape        K      c                     || d<   y )Nr
   r   r   vals     r   r
   zPathbar.edgeshape       [r   c                     | d   S )a5  
        Determines on which side of the the treemap the `pathbar`
        should be presented.

        The 'side' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['top', 'bottom']

        Returns
        -------
        Any
        r   r   r   s    r   r   zPathbar.side!   s     F|r   c                     || d<   y )Nr   r   r   s     r   r   zPathbar.side1   s    Vr   c                     | d   S )a  
        Sets the font used inside `pathbar`.

        The 'textfont' property is an instance of Textfont
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.icicle.pathbar.Textfont`
          - A dict of string/value properties that will be passed
            to the Textfont constructor

        Returns
        -------
        plotly.graph_objs.icicle.pathbar.Textfont
        r	   r   r   s    r   r	   zPathbar.textfont5   s     Jr   c                     || d<   y )Nr	   r   r   s     r   r	   zPathbar.textfontF   s    Zr   c                     | d   S )aY  
        Sets the thickness of `pathbar` (in px). If not specified the
        `pathbar.textfont.size` is used with 3 pixles extra padding on
        each side.

        The 'thickness' property is a number and may be specified as:
          - An int or float in the interval [12, inf]

        Returns
        -------
        int|float
        r   r   r   s    r   r   zPathbar.thicknessJ   r   r   c                     || d<   y )Nr   r   r   s     r   r   zPathbar.thicknessZ   r   r   c                     | d   S )z
        Determines if the path bar is drawn i.e. outside the trace
        `domain` and with one pixel gap.

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

        Returns
        -------
        bool
        r   r   r   s    r   r   zPathbar.visible^   s     Ir   c                     || d<   y )Nr   r   r   s     r   r   zPathbar.visiblem   s    Yr   c                      y)Nam          edgeshape
            Determines which shape is used for edges between
            `barpath` labels.
        side
            Determines on which side of the the treemap the
            `pathbar` should be presented.
        textfont
            Sets the font used inside `pathbar`.
        thickness
            Sets the thickness of `pathbar` (in px). If not
            specified the `pathbar.textfont.size` is used with 3
            pixles extra padding on each side.
        visible
            Determines if the path bar is drawn i.e. outside the
            trace `domain` and with one pixel gap.
        r   r   s    r   _prop_descriptionszPathbar._prop_descriptionsq   s    r   c           	      \   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||        | j                  di t        |fi | d| _        y)a  
        Construct a new Pathbar object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.icicle.Pathbar`
        edgeshape
            Determines which shape is used for edges between
            `barpath` labels.
        side
            Determines on which side of the the treemap the
            `pathbar` should be presented.
        textfont
            Sets the font used inside `pathbar`.
        thickness
            Sets the thickness of `pathbar` (in px). If not
            specified the `pathbar.textfont.size` is used with 3
            pixles extra padding on each side.
        visible
            Determines if the path bar is drawn i.e. outside the
            trace `domain` and with one pixel gap.

        Returns
        -------
        Pathbar
        pathbar_parentNzThe first argument to the plotly.graph_objs.icicle.Pathbar
constructor must be a dict or
an instance of :class:`plotly.graph_objs.icicle.Pathbar`skip_invalidF	_validateTr
   r   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   r   kwargsr)   s	           r   r'   zPathbar.__init__   s   N 	#!),DL;CT^^,$$&CT"**S/C < = =
 $ZZ>K6;Y763-:sH5;Y79c733tC2623"r   )NNNNNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr
   setterr   r	   r   r   r    r'   __classcell__)r)   s   @r   r   r      s%    ILL! !       
[[       __  ! !       ^^   * A# A#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper-   r,   r   r   r   r   <module>r@      s    S ~#% ~#r   