U
    Áòcc  ã                   @   s4   G d d„ de ƒZG dd„ de ƒZG dd„ de ƒZdS )c                   @   s(   e Zd ZdZdd„ Zdd„ Zdd„ ZdS )	ÚIdentityMapa“  
    `dict`-like object which acts as if the value for any key is the key itself. Objects
    of this class can be passed in to arguments like `color_discrete_map` to
    use the provided data values as colors, rather than mapping them to colors cycled
    from `color_discrete_sequence`. This works for any `_map` argument to Plotly Express
    functions, such as `line_dash_map` and `symbol_map`.
    c                 C   s   |S ©N© ©ÚselfÚkeyr   r   úX/var/www/html/project/venv/lib/python3.8/site-packages/plotly/express/_special_inputs.pyÚ__getitem__
   s    zIdentityMap.__getitem__c                 C   s   dS )NTr   r   r   r   r   Ú__contains__   s    zIdentityMap.__contains__c                 C   s   | S r   r   )r   r   r   r   Úcopy   s    zIdentityMap.copyN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r	   r
   r   r   r   r   r      s   r   c                   @   s   e Zd ZdZddd„ZdS )ÚConstantzé
    Objects of this class can be passed to Plotly Express functions that expect column
    identifiers or list-like objects to indicate that this attribute should take on a
    constant value. An optional label can be provided.
    Nc                 C   s   || _ || _d S r   )ÚvalueÚlabel)r   r   r   r   r   r   Ú__init__   s    zConstant.__init__)N©r   r   r   r   r   r   r   r   r   r      s   r   c                   @   s   e Zd ZdZddd„ZdS )ÚRangezö
    Objects of this class can be passed to Plotly Express functions that expect column
    identifiers or list-like objects to indicate that this attribute should be mapped
    onto integers starting at 0. An optional label can be provided.
    Nc                 C   s
   || _ d S r   )r   )r   r   r   r   r   r   '   s    zRange.__init__)Nr   r   r   r   r   r       s   r   N)Úobjectr   r   r   r   r   r   r   Ú<module>   s   