
    -Ph                     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sankeyzsankey.domain>   xyrowcolumnc                     | d         S )aX  
        If there is a layout grid, use the domain for this column in
        the grid for this sankey 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/html/test/jupyter/venv/lib/python3.11/site-packages/plotly/graph_objs/sankey/_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 )aR  
        If there is a layout grid, use the domain for this row in the
        grid for this sankey 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.row2   s    Ur   c                     | d         S )a  
            Sets the horizontal domain of this sankey 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.x6       $ Cyr   c                     || d<   d S )Nr   r   r   s     r   r   zDomain.xJ       S			r   c                     | d         S )a  
            Sets the vertical domain of this sankey 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.yN   r   r   c                     || d<   d S )Nr   r   r   s     r   r   zDomain.yb   r   r   c                     dS )Na          column
            If there is a layout grid, use the domain for this
            column in the grid for this sankey trace .
        row
            If there is a layout grid, use the domain for this row
            in the grid for this sankey trace .
        x
            Sets the horizontal domain of this sankey trace (in
            plot fraction).
        y
            Sets the vertical domain of this sankey trace (in plot
            fraction).
        r   r   s    r   _prop_descriptionszDomain._prop_descriptionsf   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||            | 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.sankey.Domain`
        column
            If there is a layout grid, use the domain for this
            column in the grid for this sankey trace .
        row
            If there is a layout grid, use the domain for this row
            in the grid for this sankey trace .
        x
            Sets the horizontal domain of this sankey trace (in
            plot fraction).
        y
            Sets the vertical domain of this sankey trace (in plot
            fraction).

        Returns
        -------
        Domain
        domain_parentNzThe first argument to the plotly.graph_objs.sankey.Domain
constructor must be a dict or
an instance of :class:`plotly.graph_objs.sankey.Domain`skip_invalidF	_validateTr
   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   kwargsr&   s          r   r$   zDomain.__init__w   sh   4 	"""!),DLF;CCT^,, 
	$$&&CCT"" 	*S//CC;   $ZZ>>K668S&1115#s+++3Q'''3Q'''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      sL       I...L  X ]  ]   X 	Z  Z   X& X  X   X& X  X   X 5# 5# 5# 5# 5# 5# 5# 5# 5# 5#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper*   r)   r   r   r   r   <module>r=      se    S R R R R R    d# d# d# d# d#$ d# d# d# d# d#r   