
    g                     .    d dl mZ d dlZ G d de      Zy)    )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    h/var/www/dash_apps/app1/venv/lib/python3.12/site-packages/plotly/graph_objs/layout/slider/_transition.pyr   zTransition.duration   s     J    c                     || d<   y )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<   y )Nr   r	   r   s     r   r   zTransition.easing:   s    Xr   c                      y)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   c           	      "   t         t        |   d       d|v r|d   | _        y|i }nXt	        || j
                        r|j                         }n1t	        |t              rt        j                  |      }nt        d      |j                  dd      | _        |j                  dd      | _        |j                  d	d      }||n|}||| d	<   |j                  d
d      }||n|}||| d
<    | j                  di t        |fi | d| _        y)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	   )superr   __init__r   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr   _process_kwargs)r   argr   r   kwargs_vr   s         r   r   zTransition.__init__I   s$   & 	j$(6!),DL ;CT^^,$$&CT"**S/CF  $ZZ>K6 WWZ&!-X2>!DWWXt$)Vr>DN 	3tC262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     __ 
  , ]] 
  ?# ?#r   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTyper!   r    r   r	   r   r   <module>r4      s    T C#) C#r   