
    -Ph34                     6    d dl mZ d dlZ G d de          ZdS )    )BaseTraceHierarchyTypeNc                   X    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 )$Cellstableztable.cells>   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    ^/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/plotly/graph_objs/table/_cells.pyr
   zCells.align   s    " G}    c                     || d<   d S )Nr
   r   r   vals     r   r
   zCells.align0   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Cells.alignsrc4   s     Jr   c                     || d<   d S )Nr   r   r   s     r   r   zCells.alignsrcB   s    Zr   c                     | d         S )aW  
        The 'fill' property is an instance of Fill
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.table.cells.Fill`
          - A dict of string/value properties that will be passed
            to the Fill constructor

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

        Returns
        -------
        plotly.graph_objs.table.cells.Font
        r   r   r   s    r   r   z
Cells.fontY   r!   r   c                     || d<   d S )Nr   r   r   s     r   r   z
Cells.fonth   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Cells.formatl        H~r   c                     || d<   d S )Nr   r   r   s     r   r   zCells.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Cells.formatsrc        K  r   c                     || d<   d S )Nr   r   r   s     r   r   zCells.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Cells.height   s     H~r   c                     || d<   d S )Nr   r   r   s     r   r   zCells.height   r)   r   c                     | d         S )aW  
        The 'line' property is an instance of Line
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.table.cells.Line`
          - A dict of string/value properties that will be passed
            to the Line constructor

        Returns
        -------
        plotly.graph_objs.table.cells.Line
        r	   r   r   s    r   r	   z
Cells.line   r!   r   c                     || d<   d S )Nr	   r   r   s     r   r	   z
Cells.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Cells.prefix        H~r   c                     || d<   d S )Nr   r   r   s     r   r   zCells.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Cells.prefixsrc   r+   r   c                     || d<   d S )Nr   r   r   s     r   r   zCells.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Cells.suffix   r3   r   c                     || d<   d S )Nr   r   r   s     r   r   zCells.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Cells.suffixsrc   r+   r   c                     || d<   d S )Nr   r   r   s     r   r   zCells.suffixsrc   r-   r   c                     | d         S )a  
        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Cells.values  r'   r   c                     || d<   d S )Nr   r   r   s     r   r   zCells.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Cells.valuessrc  r+   r   c                     || d<   d S )Nr   r   r   s     r   r   zCells.valuessrc'  r-   r   c                     dS )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.cells.Fill` instance
            or dict with compatible properties
        font
            :class:`plotly.graph_objects.table.cells.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.cells.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
            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Cells._prop_descriptions+  s    0 0r   Nc           	      n   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||           |                     d||           |                     d||           |                     d||	           |                     d||
           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||            | j        di t          |fi | d| _        dS )a  
        Construct a new Cells object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of :class:`plotly.graph_objs.table.Cells`
        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.cells.Fill` instance
            or dict with compatible properties
        font
            :class:`plotly.graph_objects.table.cells.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.cells.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
            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
        -------
        Cells
        cells_parentNzThe first argument to the plotly.graph_objs.table.Cells
constructor must be a dict or
an instance of :class:`plotly.graph_objs.table.Cells`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Cells.__init___  sY   ^ 	!!!!),DLF;CCT^,, 
	$$&&CCT"" 	*S//CC9   $ZZ>>K667C///:sH55563---63---8S&111;Y7778S&11163---8S&111;Y7778S&111;Y7778S&111;Y77733tC2262233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"   X$ \  \     X  _  _   X 
[  [   X 
[  [   X  ]  ] ! ! X!         X ]  ]   X 
[  [   X ]  ] ! ! X!         X ]  ] ! ! X!         X  ]  ] ! ! X!       1 1 X1j !t# t# t# t# t# t# t# t# t# t#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyperM   rL   r   r   r   r   <module>r`      se    S R R R R R    K# K# K# K# K## K# K# K# K# K#r   