
    -PhY                     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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treemapztreemap.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    b/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/plotly/graph_objs/treemap/_pathbar.pyr
   zPathbar.edgeshape        K      c                     || d<   d S )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<   d S )Nr   r   r   s     r   r   zPathbar.side2   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.treemap.pathbar.Textfont`
          - A dict of string/value properties that will be passed
            to the Textfont constructor

        Returns
        -------
        plotly.graph_objs.treemap.pathbar.Textfont
        r	   r   r   s    r   r	   zPathbar.textfont6   s     Jr   c                     || d<   d S )Nr	   r   r   s     r   r	   zPathbar.textfontG   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.thicknessK   r   r   c                     || d<   d S )Nr   r   r   s     r   r   zPathbar.thickness[   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<   d S )Nr   r   r   s     r   r   zPathbar.visiblen   s    Yr   c                     dS )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_descriptionsr   s     r   Nc           	         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
||           |                     d||           |                     d||           |                     d||            | j        di t          |fi | d| _        dS )a  
        Construct a new Pathbar object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.treemap.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.treemap.Pathbar
constructor must be a dict or
an instance of :class:`plotly.graph_objs.treemap.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F;CCT^,, 
	$$&&CCT"" 	*S//CC=   $ZZ>>K66;Y77763---:sH555;Y7779c733333tC2262233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LLLL! ! X!         X 
[  [     X   _  _ ! ! X!         X ^  ^   X* C# C# C# C# C# C# C# C# C# C#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper-   r,   r   r   r   r   <module>r@      se    S R R R R R    A# A# A# A# A#% A# A# A# A# A#r   