o
    ƒõ­dë  ã                   @   s(   d dl mZ d dlZG dd„ deƒZdS )é    )ÚBaseLayoutHierarchyTypeNc                       sn   e Zd ZdZdZddh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 )ÚActiveselectionÚlayoutzlayout.activeselectionÚ	fillcolorÚopacityc                 C   ó   | d S )a+
  
        Sets the color filling the active selection' interior.

        The 'fillcolor' property is a color and may be specified as:
          - A hex string (e.g. '#ff0000')
          - An rgb/rgba string (e.g. 'rgb(255,0,0)')
          - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
          - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
          - A named CSS color:
                aliceblue, antiquewhite, aqua, aquamarine, azure,
                beige, bisque, black, blanchedalmond, blue,
                blueviolet, brown, burlywood, cadetblue,
                chartreuse, chocolate, coral, cornflowerblue,
                cornsilk, crimson, cyan, darkblue, darkcyan,
                darkgoldenrod, darkgray, darkgrey, darkgreen,
                darkkhaki, darkmagenta, darkolivegreen, darkorange,
                darkorchid, darkred, darksalmon, darkseagreen,
                darkslateblue, darkslategray, darkslategrey,
                darkturquoise, darkviolet, deeppink, deepskyblue,
                dimgray, dimgrey, dodgerblue, firebrick,
                floralwhite, forestgreen, fuchsia, gainsboro,
                ghostwhite, gold, goldenrod, gray, grey, green,
                greenyellow, honeydew, hotpink, indianred, indigo,
                ivory, khaki, lavender, lavenderblush, lawngreen,
                lemonchiffon, lightblue, lightcoral, lightcyan,
                lightgoldenrodyellow, lightgray, lightgrey,
                lightgreen, lightpink, lightsalmon, lightseagreen,
                lightskyblue, lightslategray, lightslategrey,
                lightsteelblue, lightyellow, lime, limegreen,
                linen, magenta, maroon, mediumaquamarine,
                mediumblue, mediumorchid, mediumpurple,
                mediumseagreen, mediumslateblue, mediumspringgreen,
                mediumturquoise, mediumvioletred, midnightblue,
                mintcream, mistyrose, moccasin, navajowhite, navy,
                oldlace, olive, olivedrab, orange, orangered,
                orchid, palegoldenrod, palegreen, paleturquoise,
                palevioletred, papayawhip, peachpuff, peru, pink,
                plum, powderblue, purple, red, rosybrown,
                royalblue, rebeccapurple, saddlebrown, salmon,
                sandybrown, seagreen, seashell, sienna, silver,
                skyblue, slateblue, slategray, slategrey, snow,
                springgreen, steelblue, tan, teal, thistle, tomato,
                turquoise, violet, wheat, white, whitesmoke,
                yellow, yellowgreen

        Returns
        -------
        str
        r   © ©Úselfr   r   ún/var/www/html/visualizacion-main/env/lib/python3.10/site-packages/plotly/graph_objs/layout/_activeselection.pyr      s   3zActiveselection.fillcolorc                 C   ó   || d< d S )Nr   r   ©r
   Úvalr   r   r   r   D   ó   c                 C   r   )zæ
        Sets the opacity of the active selection.

        The 'opacity' property is a number and may be specified as:
          - An int or float in the interval [0, 1]

        Returns
        -------
        int|float
        r   r   r	   r   r   r   r   J   s   zActiveselection.opacityc                 C   r   )Nr   r   r   r   r   r   r   X   r   c                 C   s   dS )Nz£        fillcolor
            Sets the color filling the active selection' interior.
        opacity
            Sets the opacity of the active selection.
        r   r	   r   r   r   Ú_prop_descriptions^   s   z"Activeselection._prop_descriptionsNc                    s  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
< | jdi t|fi |¤Ž¤Ž d| _dS )aÛ  
        Construct a new Activeselection object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.layout.Activeselection`
        fillcolor
            Sets the color filling the active selection' interior.
        opacity
            Sets the opacity of the active selection.

        Returns
        -------
        Activeselection
        ÚactiveselectionÚ_parentNz¡The first argument to the plotly.graph_objs.layout.Activeselection
constructor must be a dict or
an instance of :class:`plotly.graph_objs.layout.Activeselection`Úskip_invalidFÚ	_validateTr   r   r   )Úsuperr   Ú__init__r   Ú
isinstanceÚ	__class__Úto_plotly_jsonÚdictÚ_copyÚcopyÚ
ValueErrorÚpopÚ_skip_invalidr   Ú_process_kwargs)r
   Úargr   r   ÚkwargsÚ_v©r   r   r   r   g   s2   


ÿ	
zActiveselection.__init__)NNN)Ú__name__Ú
__module__Ú__qualname__Ú_parent_path_strÚ	_path_strÚ_valid_propsÚpropertyr   Úsetterr   r   r   Ú__classcell__r   r   r$   r   r      s    
4



r   )Úplotly.basedatatypesr   Ú_BaseLayoutHierarchyTyper   r   r   r   r   r   r   Ú<module>   s    