
    -Ph,                     6    d dl mZ d dlZ G d de          ZdS )    )BaseLayoutHierarchyTypeNc                        e Zd ZdZdZh dZed             Zej        d             Zed             Z	e	j        d             Z	ed             Z
e
j        d	             Z
ed
             Zd fd	Z xZS )
Transitionlayoutzlayout.transition>   easingdurationorderingc                     | 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    selfs    d/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/plotly/graph_objs/layout/_transition.pyr   zTransition.duration   s     J    c                     || d<   d S )Nr   r   r   vals     r   r   zTransition.duration       Zr   c                     | d         S )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   s    r   r   zTransition.easing!   s    * H~r   c                     || d<   d S )Nr   r   r   s     r   r   zTransition.easing8   s    Xr   c                     | d         S )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   s    r   r	   zTransition.ordering<   s     Jr   c                     || d<   d S )Nr	   r   r   s     r   r	   zTransition.orderingM   r   r   c                     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   s    r   _prop_descriptionszTransition._prop_descriptionsQ   s    
 
r   Nc           	      t   t                                          d           d|v r|d         | _        dS |i }nct          || j                  r|                                }n9t          |t                    rt          j        |          }nt          d          |
                    dd          | _        |
                    dd          | _        |                     d	||           |                     d
||           |                     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_parentNzThe 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   )super__init__r   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr   _set_property_process_kwargs)r   argr   r   r	   kwargsr"   s         r   r    zTransition.__init___   sP   4 	&&&!),DLF;CCT^,, 
	$$&&CCT"" 	*S//CC?   $ZZ>>K66:sH5558S&111:sH55533tC22622333"r   )NNNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr   setterr   r	   r   r    __classcell__)r"   s   @r   r   r      s       #I555L    X  _  _   X, ]  ]     X   _  _   X4# 4# 4# 4# 4# 4# 4# 4# 4# 4#r   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTyper&   r%   r   r   r   r   <module>r9      se    U T T T T T    K# K# K# K# K#) K# K# K# K# K#r   