
    Ncg                     .    d dl mZ d dlZ G d de      Zy)    )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/bid-api/venv/lib/python3.12/site-packages/plotly/graph_objs/sankey/_domain.pyr
   zDomain.column   s     H~    c                     || d<   y )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<   y )Nr	   r   r   s     r   r	   z
Domain.row5   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.x;       $ Cyr   c                     || d<   y )Nr   r   r   s     r   r   zDomain.xO       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.yU   r   r   c                     || d<   y )Nr   r   r   s     r   r   zDomain.yi   r   r   c                      y)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_descriptionso   s    r   c           	         t         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	d      }||n|}||| d	<   |j                  d
d      }||n|}||| d
<   |j                  dd      }||n|}||| d<   |j                  dd      }||n|}||| d<    | j                  di t        |fi | d| _        y)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   )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__   ss   4 	fd$X.!),DL ;CT^^,$$&CT"**S/C;  $ZZ>K6 WWXt$)Vr>DNWWUD!OS>DKWWS$-QR>DIWWS$-QR>DI 	3tC262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      s      I.L   ]] 
   	ZZ 
  & XX 
  & XX 
   N# N#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper*   r)   r   r   r   r   <module>r=      s    R I#$ I#r   