o
    ƒõ­dô  ã                   @   s(   d dl mZ d dlZG dd„ deƒZdS )é    )ÚBaseLayoutHierarchyTypeNc                       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d‡ fdd„	Z‡  ZS )Ú
TransitionÚlayoutzlayout.transition>   ÚeasingÚdurationÚorderingc                 C   ó   | d S )a#  
        The duration of the transition, in milliseconds. If equal to
        zero, updates are synchronous.

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

        Returns
        -------
        int|float
        r   © ©Úselfr	   r	   úi/var/www/html/visualizacion-main/env/lib/python3.10/site-packages/plotly/graph_objs/layout/_transition.pyr      s   zTransition.durationc                 C   ó   || d< d S )Nr   r	   ©r   Úvalr	   r	   r   r      ó   c                 C   r   )a9  
        The easing function used for the transition

        The 'easing' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['linear', 'quad', 'cubic', 'sin', 'exp', 'circle',
                'elastic', 'back', 'bounce', 'linear-in', 'quad-in',
                'cubic-in', 'sin-in', 'exp-in', 'circle-in', 'elastic-in',
                'back-in', 'bounce-in', 'linear-out', 'quad-out',
                'cubic-out', 'sin-out', 'exp-out', 'circle-out',
                'elastic-out', 'back-out', 'bounce-out', 'linear-in-out',
                'quad-in-out', 'cubic-in-out', 'sin-in-out', 'exp-in-out',
                'circle-in-out', 'elastic-in-out', 'back-in-out',
                'bounce-in-out']

        Returns
        -------
        Any
        r   r	   r
   r	   r	   r   r   $   s   zTransition.easingc                 C   r   )Nr   r	   r   r	   r	   r   r   ;   r   c                 C   r   )a  
        Determines whether the figure's layout or traces smoothly
        transitions during updates that make both traces and layout
        change.

        The 'ordering' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['layout first', 'traces first']

        Returns
        -------
        Any
        r   r	   r
   r	   r	   r   r   A   s   zTransition.orderingc                 C   r   )Nr   r	   r   r	   r	   r   r   R   r   c                 C   s   dS )Na‡          duration
            The duration of the transition, in milliseconds. If
            equal to zero, updates are synchronous.
        easing
            The easing function used for the transition
        ordering
            Determines whether the figure's layout or traces
            smoothly transitions during updates that make both
            traces and layout change.
        r	   r
   r	   r	   r   Ú_prop_descriptionsX   s   zTransition._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
< | dd¡}|durz|n|}|dur„|| d< | jdi t|fi |¤Ž¤Ž d| _dS )aó  
        Construct a new Transition object

        Sets transition options used during Plotly.react updates.

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.layout.Transition`
        duration
            The duration of the transition, in milliseconds. If
            equal to zero, updates are synchronous.
        easing
            The easing function used for the transition
        ordering
            Determines whether the figure's layout or traces
            smoothly transitions during updates that make both
            traces and layout change.

        Returns
        -------
        Transition
        Ú
transitionÚ_parentNz—The first argument to the plotly.graph_objs.layout.Transition
constructor must be a dict or
an instance of :class:`plotly.graph_objs.layout.Transition`Úskip_invalidFÚ	_validateTr   r   r   r	   )Úsuperr   Ú__init__r   Ú
isinstanceÚ	__class__Úto_plotly_jsonÚdictÚ_copyÚcopyÚ
ValueErrorÚpopÚ_skip_invalidr   Ú_process_kwargs)r   Úargr   r   r   ÚkwargsÚ_v©r   r	   r   r   f   s:   


ÿ	
zTransition.__init__)NNNN)Ú__name__Ú
__module__Ú__qualname__Ú_parent_path_strÚ	_path_strÚ_valid_propsÚpropertyr   Úsetterr   r   r   r   Ú__classcell__r	   r	   r%   r   r      s&    






r   )Úplotly.basedatatypesr   Ú_BaseLayoutHierarchyTyper   r   r   r	   r	   r	   r   Ú<module>   s    