
    [6g                     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d fd	Z xZS )Domaintableztable.domain>   xyrowcolumnc                     | d         S )aW  
        If there is a layout grid, use the domain for this column in
        the grid for this table trace .

        The 'column' property is a integer and may be specified as:
          - An int (or float that will be cast to an int)
            in the interval [0, 9223372036854775807]

        Returns
        -------
        int
        r
    selfs    ^/var/www/surfInsights/venv3-11/lib/python3.11/site-packages/plotly/graph_objs/table/_domain.pyr
   zDomain.column   s     H~    c                     || d<   d S )Nr
   r   r   vals     r   r
   zDomain.column   s    Xr   c                     | d         S )aQ  
        If there is a layout grid, use the domain for this row in the
        grid for this table trace .

        The 'row' property is a integer and may be specified as:
          - An int (or float that will be cast to an int)
            in the interval [0, 9223372036854775807]

        Returns
        -------
        int
        r	   r   r   s    r   r	   z
Domain.row%   s     E{r   c                     || d<   d S )Nr	   r   r   s     r   r	   z
Domain.row5   s    Ur   c                     | d         S )a  
            Sets the horizontal domain of this table trace (in plot
            fraction).

            The 'x' property is an info array that may be specified as:

            * a list or tuple of 2 elements where:
        (0) The 'x[0]' property is a number and may be specified as:
              - An int or float in the interval [0, 1]
        (1) The 'x[1]' property is a number and may be specified as:
              - An int or float in the interval [0, 1]

            Returns
            -------
            list
        r   r   r   s    r   r   zDomain.x;       $ Cyr   c                     || d<   d S )Nr   r   r   s     r   r   zDomain.xO       S			r   c                     | d         S )a  
            Sets the vertical domain of this table trace (in plot
            fraction).

            The 'y' property is an info array that may be specified as:

            * a list or tuple of 2 elements where:
        (0) The 'y[0]' property is a number and may be specified as:
              - An int or float in the interval [0, 1]
        (1) The 'y[1]' property is a number and may be specified as:
              - An int or float in the interval [0, 1]

            Returns
            -------
            list
        r   r   r   s    r   r   zDomain.yU   r   r   c                     || d<   d S )Nr   r   r   s     r   r   zDomain.yi   r   r   c                     dS )Na          column
            If there is a layout grid, use the domain for this
            column in the grid for this table trace .
        row
            If there is a layout grid, use the domain for this row
            in the grid for this table trace .
        x
            Sets the horizontal domain of this table trace (in plot
            fraction).
        y
            Sets the vertical domain of this table trace (in plot
            fraction).
        r   r   s    r   _prop_descriptionszDomain._prop_descriptionso   s     r   Nc           	         t          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          }||n|}||| d	<   |                    d
d          }||n|}||| d
<   |                    dd          }||n|}||| d<   |                    dd          }||n|}||| d<    | j        di t          |fi | d| _        dS )a  
        Construct a new Domain object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of :class:`plotly.graph_objs.table.Domain`
        column
            If there is a layout grid, use the domain for this
            column in the grid for this table trace .
        row
            If there is a layout grid, use the domain for this row
            in the grid for this table trace .
        x
            Sets the horizontal domain of this table trace (in plot
            fraction).
        y
            Sets the vertical domain of this table trace (in plot
            fraction).

        Returns
        -------
        Domain
        domain_parentNzThe first argument to the plotly.graph_objs.table.Domain
constructor must be a dict or
an instance of :class:`plotly.graph_objs.table.Domain`skip_invalidF	_validateTr
   r	   r   r   r   )superr   __init__r    
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr"   _process_kwargs)	r   argr
   r	   r   r   kwargs_vr&   s	           r   r$   zDomain.__init__   s   4 	fd$$X...!),DLF ;CCT^,, 
	$$&&CCT"" 	*S//CC:   $ZZ>>K66 WWXt$$)VVr>DNWWUD!!OSS>DKWWS$-QQR>DIWWS$-QQR>DI 	33tC22622333 #r   )NNNNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr
   setterr	   r   r   r   r$   __classcell__)r&   s   @r   r   r      sZ        I...L   X ]  ]
   X 	Z  Z
   X& X  X
   X& X  X
   X N# N# N# N# N# N# N# N# N# N#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper*   r)   r   r   r   r   <module>r=      sb    R R R R R R    I# I# I# I# I#$ I# I# I# I# I#r   