o
    „õ­dÃ  ã                   @   s(   d dl mZ d dlZG dd„ deƒZdS )é    )ÚBaseTraceHierarchyTypeNc                       s¢   e Zd ZdZdZh d£Zedd„ ƒZejdd„ ƒZedd„ ƒZ	e	jd	d„ ƒZ	ed
d„ ƒZ
e
jdd„ ƒZ
edd„ ƒZejdd„ ƒZedd„ ƒZd‡ fdd„	Z‡  ZS )ÚDomainÚsunburstzsunburst.domain>   ÚxÚyÚrowÚcolumnc                 C   ó   | d S )aZ  
        If there is a layout grid, use the domain for this column in
        the grid for this sunburst 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   © ©Úselfr
   r
   úg/var/www/html/visualizacion-main/env/lib/python3.10/site-packages/plotly/graph_objs/sunburst/_domain.pyr      ó   zDomain.columnc                 C   ó   || d< d S )Nr   r
   ©r   Úvalr
   r
   r   r      ó   c                 C   r	   )aT  
        If there is a layout grid, use the domain for this row in the
        grid for this sunburst 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   r
   r
   r   r   %   r   z
Domain.rowc                 C   r   )Nr   r
   r   r
   r
   r   r   5   r   c                 C   r	   )a  
            Sets the horizontal domain of this sunburst 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   r
   r
   r   r   ;   ó   zDomain.xc                 C   r   )Nr   r
   r   r
   r
   r   r   O   r   c                 C   r	   )a  
            Sets the vertical domain of this sunburst 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   r
   r
   r   r   U   r   zDomain.yc                 C   r   )Nr   r
   r   r
   r
   r   r   i   r   c                 C   s   dS )NaÞ          column
            If there is a layout grid, use the domain for this
            column in the grid for this sunburst trace .
        row
            If there is a layout grid, use the domain for this row
            in the grid for this sunburst trace .
        x
            Sets the horizontal domain of this sunburst trace (in
            plot fraction).
        y
            Sets the vertical domain of this sunburst trace (in
            plot fraction).
        r
   r   r
   r
   r   Ú_prop_descriptionso   s   zDomain._prop_descriptionsNc                    sZ  t t| ƒ d¡ d|v r|d | _dS |du ri }nt|| jƒr%| ¡ }nt|tƒr0t 	|¡}nt
dƒ‚| dd¡| _| dd¡| _| d	d¡}|durN|n|}|durX|| d	< | d
d¡}|durd|n|}|durn|| d
< | dd¡}|durz|n|}|dur„|| d< | dd¡}|dur|n|}|durš|| 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.sunburst.Domain`
        column
            If there is a layout grid, use the domain for this
            column in the grid for this sunburst trace .
        row
            If there is a layout grid, use the domain for this row
            in the grid for this sunburst trace .
        x
            Sets the horizontal domain of this sunburst trace (in
            plot fraction).
        y
            Sets the vertical domain of this sunburst trace (in
            plot fraction).

        Returns
        -------
        Domain
        ÚdomainÚ_parentNz“The first argument to the plotly.graph_objs.sunburst.Domain
constructor must be a dict or
an instance of :class:`plotly.graph_objs.sunburst.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Ú_v©r   r
   r   r   €   sB   


ÿ	
zDomain.__init__)NNNNN)Ú__name__Ú
__module__Ú__qualname__Ú_parent_path_strÚ	_path_strÚ_valid_propsÚpropertyr   Úsetterr   r   r   r   r   Ú__classcell__r
   r
   r(   r   r      s.    








r   )Úplotly.basedatatypesr   Ú_BaseTraceHierarchyTyper    r   r   r
   r
   r
   r   Ú<module>   s    