
    ~in                     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ddh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 )
Transitionzlayout.sliderzlayout.slider.transitiondurationeasingc                     | d         S )z
        Sets the duration of the slider transition

        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    _/home/jrussi/.local/lib/python3.11/site-packages/plotly/graph_objs/layout/slider/_transition.pyr   zTransition.duration   s     J    c                     || d<   d S )Nr   r	   r   vals     r   r   zTransition.duration   s    Zr   c                     | d         S )a?  
        Sets the easing function of the slider 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.easing6   s    Xr   c                     dS )Nz        duration
            Sets the duration of the slider transition
        easing
            Sets the easing function of the slider transition
        r	   r
   s    r   _prop_descriptionszTransition._prop_descriptions:   s     r   Nc           	      F   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
||            | j        di t          |fi | d| _        dS )a  
        Construct a new Transition object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.layout.slider.Transition`
        duration
            Sets the duration of the slider transition
        easing
            Sets the easing function of the slider transition

        Returns
        -------
        Transition
        
transition_parentNzThe first argument to the plotly.graph_objs.layout.slider.Transition
constructor must be a dict or
an instance of :class:`plotly.graph_objs.layout.slider.Transition`skip_invalidF	_validateTr   r   r	   )super__init__r   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr   _set_property_process_kwargs)r   argr   r   kwargsr   s        r   r   zTransition.__init__C   s>   & 	&&&!),DLF;CCT^,, 	G$$&&CCT"" 	G*S//CC F G G G
 $ZZ>>K66:sH5558S&11133tC22622333"r   )NNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr   setterr   r   r   __classcell__)r   s   @r   r   r      s        &*I)L    X  _  _   X, ]  ]   X*# *# *# *# *# *# *# *# *# *#r   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTyper!   r    r   r	   r   r   <module>r4      se    U T T T T T    e# e# e# e# e#) e# e# e# e# e#r   