
    Wh=4                     .    d dl mZ d dlZ G d de      Zy)    )BaseTraceHierarchyTypeNc                   6    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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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 )#Headertableztable.header>   fillfontlinealignformatheightprefixsuffixvaluesalignsrc	formatsrc	prefixsrc	suffixsrc	valuessrcc                     | d   S )a4  
        Sets the horizontal alignment of the `text` within the box. Has
        an effect only if `text` spans two or more lines (i.e. `text`
        contains one or more <br> HTML tags) or if an explicit width is
        set to override the text width.

        The 'align' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['left', 'center', 'right']
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        Any|numpy.ndarray
        r
    selfs    Y/var/www/html/jupyter_env/lib/python3.12/site-packages/plotly/graph_objs/table/_header.pyr
   zHeader.align   s    " G}    c                     || d<   y )Nr
   r   r   vals     r   r
   zHeader.align/   s    Wr   c                     | d   S )z
        Sets the source reference on Chart Studio Cloud for `align`.

        The 'alignsrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r   r   r   s    r   r   zHeader.alignsrc3   s     Jr   c                     || d<   y )Nr   r   r   s     r   r   zHeader.alignsrcA   s    Zr   c                     | d   S )aY  
        The 'fill' property is an instance of Fill
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.table.header.Fill`
          - A dict of string/value properties that will be passed
            to the Fill constructor

        Returns
        -------
        plotly.graph_objs.table.header.Fill
        r   r   r   s    r   r   zHeader.fillE        F|r   c                     || d<   y )Nr   r   r   s     r   r   zHeader.fillT       Vr   c                     | d   S )aY  
        The 'font' property is an instance of Font
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.table.header.Font`
          - A dict of string/value properties that will be passed
            to the Font constructor

        Returns
        -------
        plotly.graph_objs.table.header.Font
        r   r   r   s    r   r   zHeader.fontX   r!   r   c                     || d<   y )Nr   r   r   s     r   r   zHeader.fontg   r#   r   c                     | d   S )a  
        Sets the cell value formatting rule using d3 formatting mini-
        languages which are very similar to those in Python. For
        numbers, see:
        https://github.com/d3/d3-format/tree/v1.4.5#d3-format.

        The 'format' property is an array that may be specified as a tuple,
        list, numpy array, or pandas Series

        Returns
        -------
        numpy.ndarray
        r   r   r   s    r   r   zHeader.formatk        H~r   c                     || d<   y )Nr   r   r   s     r   r   zHeader.format|       Xr   c                     | d   S )z
        Sets the source reference on Chart Studio Cloud for `format`.

        The 'formatsrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r   r   r   s    r   r   zHeader.formatsrc        K  r   c                     || d<   y )Nr   r   r   s     r   r   zHeader.formatsrc       [r   c                     | d   S )z
        The height of cells.

        The 'height' property is a number and may be specified as:
          - An int or float

        Returns
        -------
        int|float
        r   r   r   s    r   r   zHeader.height   s     H~r   c                     || d<   y )Nr   r   r   s     r   r   zHeader.height   r)   r   c                     | d   S )aY  
        The 'line' property is an instance of Line
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.table.header.Line`
          - A dict of string/value properties that will be passed
            to the Line constructor

        Returns
        -------
        plotly.graph_objs.table.header.Line
        r	   r   r   s    r   r	   zHeader.line   r!   r   c                     || d<   y )Nr	   r   r   s     r   r	   zHeader.line   r#   r   c                     | d   S )a=  
        Prefix for cell values.

        The 'prefix' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        str|numpy.ndarray
        r   r   r   s    r   r   zHeader.prefix        H~r   c                     || d<   y )Nr   r   r   s     r   r   zHeader.prefix   r)   r   c                     | d   S )z
        Sets the source reference on Chart Studio Cloud for `prefix`.

        The 'prefixsrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r   r   r   s    r   r   zHeader.prefixsrc   r+   r   c                     || d<   y )Nr   r   r   s     r   r   zHeader.prefixsrc   r-   r   c                     | d   S )a=  
        Suffix for cell values.

        The 'suffix' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        str|numpy.ndarray
        r   r   r   s    r   r   zHeader.suffix   r3   r   c                     || d<   y )Nr   r   r   s     r   r   zHeader.suffix   r)   r   c                     | d   S )z
        Sets the source reference on Chart Studio Cloud for `suffix`.

        The 'suffixsrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r   r   r   s    r   r   zHeader.suffixsrc   r+   r   c                     || d<   y )Nr   r   r   s     r   r   zHeader.suffixsrc   r-   r   c                     | d   S )a  
        Header cell values. `values[m][n]` represents the value of the
        `n`th point in column `m`, therefore the `values[m]` vector
        length for all columns must be the same (longer vectors will be
        truncated). Each value must be a finite number or a string.

        The 'values' property is an array that may be specified as a tuple,
        list, numpy array, or pandas Series

        Returns
        -------
        numpy.ndarray
        r   r   r   s    r   r   zHeader.values  r'   r   c                     || d<   y )Nr   r   r   s     r   r   zHeader.values  r)   r   c                     | d   S )z
        Sets the source reference on Chart Studio Cloud for `values`.

        The 'valuessrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r   r   r   s    r   r   zHeader.valuessrc  r+   r   c                     || d<   y )Nr   r   r   s     r   r   zHeader.valuessrc&  r-   r   c                      y)Na          align
            Sets the horizontal alignment of the `text` within the
            box. Has an effect only if `text` spans two or more
            lines (i.e. `text` contains one or more <br> HTML tags)
            or if an explicit width is set to override the text
            width.
        alignsrc
            Sets the source reference on Chart Studio Cloud for
            `align`.
        fill
            :class:`plotly.graph_objects.table.header.Fill`
            instance or dict with compatible properties
        font
            :class:`plotly.graph_objects.table.header.Font`
            instance or dict with compatible properties
        format
            Sets the cell value formatting rule using d3 formatting
            mini-languages which are very similar to those in
            Python. For numbers, see:
            https://github.com/d3/d3-format/tree/v1.4.5#d3-format.
        formatsrc
            Sets the source reference on Chart Studio Cloud for
            `format`.
        height
            The height of cells.
        line
            :class:`plotly.graph_objects.table.header.Line`
            instance or dict with compatible properties
        prefix
            Prefix for cell values.
        prefixsrc
            Sets the source reference on Chart Studio Cloud for
            `prefix`.
        suffix
            Suffix for cell values.
        suffixsrc
            Sets the source reference on Chart Studio Cloud for
            `suffix`.
        values
            Header cell values. `values[m][n]` represents the value
            of the `n`th point in column `m`, therefore the
            `values[m]` vector length for all columns must be the
            same (longer vectors will be truncated). Each value
            must be a finite number or a string.
        valuessrc
            Sets the source reference on Chart Studio Cloud for
            `values`.
        r   r   s    r   _prop_descriptionszHeader._prop_descriptions*  s    0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||       | j                  d||       | j                  d||	       | j                  d||
       | j                  d||       | j                  d||       | j                  d||       | j                  d||       | j                  d||        | j                  di t        |fi | d| _        y)a  
        Construct a new Header object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of :class:`plotly.graph_objs.table.Header`
        align
            Sets the horizontal alignment of the `text` within the
            box. Has an effect only if `text` spans two or more
            lines (i.e. `text` contains one or more <br> HTML tags)
            or if an explicit width is set to override the text
            width.
        alignsrc
            Sets the source reference on Chart Studio Cloud for
            `align`.
        fill
            :class:`plotly.graph_objects.table.header.Fill`
            instance or dict with compatible properties
        font
            :class:`plotly.graph_objects.table.header.Font`
            instance or dict with compatible properties
        format
            Sets the cell value formatting rule using d3 formatting
            mini-languages which are very similar to those in
            Python. For numbers, see:
            https://github.com/d3/d3-format/tree/v1.4.5#d3-format.
        formatsrc
            Sets the source reference on Chart Studio Cloud for
            `format`.
        height
            The height of cells.
        line
            :class:`plotly.graph_objects.table.header.Line`
            instance or dict with compatible properties
        prefix
            Prefix for cell values.
        prefixsrc
            Sets the source reference on Chart Studio Cloud for
            `prefix`.
        suffix
            Suffix for cell values.
        suffixsrc
            Sets the source reference on Chart Studio Cloud for
            `suffix`.
        values
            Header cell values. `values[m][n]` represents the value
            of the `n`th point in column `m`, therefore the
            `values[m]` vector length for all columns must be the
            same (longer vectors will be truncated). Each value
            must be a finite number or a string.
        valuessrc
            Sets the source reference on Chart Studio Cloud for
            `values`.

        Returns
        -------
        Header
        header_parentNzThe first argument to the plotly.graph_objs.table.Header
constructor must be a dict or
an instance of :class:`plotly.graph_objs.table.Header`skip_invalidF	_validateTr
   r   r   r   r   r   r   r	   r   r   r   r   r   r   r   )super__init__rC   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidrE   _set_property_process_kwargs)r   argr
   r   r   r   r   r   r   r	   r   r   r   r   r   r   kwargsrI   s                    r   rG   zHeader.__init__^  s   ^ 	"!),DL;CT^^,$$&CT"**S/C : ; ;
 $ZZ>K67C/:sH563-63-8S&1;Y78S&163-8S&1;Y78S&1;Y78S&1;Y73tC2623"r   )NNNNNNNNNNNNNNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr
   setterr   r   r   r   r   r   r	   r   r   r   r   r   r   r@   rG   __classcell__)rI   s   @r   r   r      s   IL"  $ \\      __    
[[    
[[     ]]  ! !       ]]    
[[    ]]  ! !       ]]  ! !        ]]  ! !     1 1j !r# r#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyperM   rL   r   r   r   r   <module>r`      s    S H#$ H#r   