U
    Ãòccí  ã                   @   s    d dl ZG dd„ dejjƒZdS )é    Nc                       s   e Zd Zd‡ fdd„	Z‡  ZS )ÚTilingValidatorÚtilingÚtreemapc              	      s4   t t| ƒjf ||| dd¡| dd¡dœ|—Ž d S )NÚdata_class_strZTilingÚ	data_docsaï  
            flip
                Determines if the positions obtained from
                solver are flipped on each axis.
            packing
                Determines d3 treemap solver. For more info
                please refer to
                https://github.com/d3/d3-hierarchy#treemap-
                tiling
            pad
                Sets the inner padding (in px).
            squarifyratio
                When using "squarify" `packing` algorithm,
                according to https://github.com/d3/d3-hierarchy
                /blob/v3.1.1/README.md#squarify_ratio this
                option specifies the desired aspect ratio of
                the generated rectangles. The ratio must be
                specified as a number greater than or equal to
                one. Note that the orientation of the generated
                rectangles (tall or wide) is not implied by the
                ratio; for example, a ratio of two will attempt
                to produce a mixture of rectangles whose
                width:height ratio is either 2:1 or 1:2. When
                using "squarify", unlike d3 which uses the
                Golden Ratio i.e. 1.618034, Plotly applies 1 to
                increase squares in treemap layouts.
)Úplotly_nameÚparent_namer   r   )Úsuperr   Ú__init__Úpop)Úselfr   r   Úkwargs©Ú	__class__© ú[/var/www/html/project/venv/lib/python3.8/site-packages/plotly/validators/treemap/_tiling.pyr
      s    
þü"ÞzTilingValidator.__init__)r   r   )Ú__name__Ú
__module__Ú__qualname__r
   Ú__classcell__r   r   r   r   r      s   r   )Z_plotly_utils.basevalidatorsZ_plotly_utilsZbasevalidatorsZCompoundValidatorr   r   r   r   r   Ú<module>   s   