
    -Phh_                     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ej        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ej        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ej        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ej        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ej        d+             Zed,             Zej        d-             Zed.             Zej        d/             Zed0             Zej        d1             Zed2             Zej        d3             Zed4             Z 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d7 fd6	Z! xZ"S )8Sliderlayoutzlayout.slider>   xylenpadfontnamestepsactivebgcolorlenmodeticklenvisiblexanchoryanchor	tickcolor	tickwidth
transitionbordercolorborderwidthcurrentvalueminorticklenstepdefaultsactivebgcolortemplateitemnamec                     | d         S )a  
        Determines which button (by index starting from 0) is
        considered active.

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

        Returns
        -------
        int|float
        r    selfs    `/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/plotly/graph_objs/layout/_slider.pyr   zSlider.active'   s     H~    c                     || d<   d S )Nr   r    r"   vals     r#   r   zSlider.active6   s    Xr$   c                     | d         S )a  
        Sets the background color of the slider grip while dragging.

        The 'activebgcolor' property is a color and may be specified as:
          - A hex string (e.g. '#ff0000')
          - An rgb/rgba string (e.g. 'rgb(255,0,0)')
          - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
          - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
          - A named CSS color: see https://plotly.com/python/css-colors/ for a list

        Returns
        -------
        str
        r   r    r!   s    r#   r   zSlider.activebgcolor:   s      O$$r$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.activebgcolorL   s     #_r$   c                     | d         S )a  
        Sets the background color of the slider.

        The 'bgcolor' property is a color and may be specified as:
          - A hex string (e.g. '#ff0000')
          - An rgb/rgba string (e.g. 'rgb(255,0,0)')
          - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
          - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
          - A named CSS color: see https://plotly.com/python/css-colors/ for a list

        Returns
        -------
        str
        r   r    r!   s    r#   r   zSlider.bgcolorP   s      Ir$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.bgcolorb       Yr$   c                     | d         S )a  
        Sets the color of the border enclosing the slider.

        The 'bordercolor' property is a color and may be specified as:
          - A hex string (e.g. '#ff0000')
          - An rgb/rgba string (e.g. 'rgb(255,0,0)')
          - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
          - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
          - A named CSS color: see https://plotly.com/python/css-colors/ for a list

        Returns
        -------
        str
        r   r    r!   s    r#   r   zSlider.bordercolorf   s      M""r$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.bordercolorx       !]r$   c                     | d         S )z
        Sets the width (in px) of the border enclosing the slider.

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

        Returns
        -------
        int|float
        r   r    r!   s    r#   r   zSlider.borderwidth|   s     M""r$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.borderwidth   r/   r$   c                     | d         S )a  
        The 'currentvalue' property is an instance of Currentvalue
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.layout.slider.Currentvalue`
          - A dict of string/value properties that will be passed
            to the Currentvalue constructor

        Returns
        -------
        plotly.graph_objs.layout.slider.Currentvalue
        r   r    r!   s    r#   r   zSlider.currentvalue   s     N##r$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.currentvalue       "^r$   c                     | d         S )a  
        Sets the font of the slider step labels.

        The 'font' property is an instance of Font
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.layout.slider.Font`
          - A dict of string/value properties that will be passed
            to the Font constructor

        Returns
        -------
        plotly.graph_objs.layout.slider.Font
        r   r    r!   s    r#   r   zSlider.font   s     F|r$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.font       Vr$   c                     | d         S )ad  
        Sets the length of the slider This measure excludes the padding
        of both ends. That is, the slider's length is this length minus
        the padding on both ends.

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

        Returns
        -------
        int|float
        r	   r    r!   s    r#   r	   z
Slider.len   s     E{r$   c                     || d<   d S )Nr	   r    r&   s     r#   r	   z
Slider.len       Ur$   c                     | d         S )ab  
        Determines whether this slider length is set in units of plot
        "fraction" or in *pixels. Use `len` to set the value.

        The 'lenmode' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['fraction', 'pixels']

        Returns
        -------
        Any
        r   r    r!   s    r#   r   zSlider.lenmode   s     Ir$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.lenmode   r,   r$   c                     | d         S )z
        Sets the length in pixels of minor step tick marks

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

        Returns
        -------
        int|float
        r   r    r!   s    r#   r   zSlider.minorticklen   s     N##r$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.minorticklen   r4   r$   c                     | d         S )aw  
        When used in a template, named items are created in the output
        figure in addition to any items the figure already has in this
        array. You can modify these items in the output figure by
        making your own item with `templateitemname` matching this
        `name` alongside your modifications (including `visible: false`
        or `enabled: false` to hide it). Has no effect outside of a
        template.

        The 'name' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string

        Returns
        -------
        str
        r   r    r!   s    r#   r   zSlider.name   s    & F|r$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.name  r7   r$   c                     | d         S )a  
        Set the padding of the slider component along each side.

        The 'pad' property is an instance of Pad
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.layout.slider.Pad`
          - A dict of string/value properties that will be passed
            to the Pad constructor

        Returns
        -------
        plotly.graph_objs.layout.slider.Pad
        r
   r    r!   s    r#   r
   z
Slider.pad	  s     E{r$   c                     || d<   d S )Nr
   r    r&   s     r#   r
   z
Slider.pad  r:   r$   c                     | d         S )a  
        The 'steps' property is a tuple of instances of
        Step that may be specified as:
          - A list or tuple of instances of plotly.graph_objs.layout.slider.Step
          - A list or tuple of dicts of string/value properties that
            will be passed to the Step constructor

        Returns
        -------
        tuple[plotly.graph_objs.layout.slider.Step]
        r   r    r!   s    r#   r   zSlider.steps  s     G}r$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.steps-  s    Wr$   c                     | d         S )a  
        When used in a template (as
        layout.template.layout.slider.stepdefaults), sets the default
        property values to use for elements of layout.slider.steps

        The 'stepdefaults' property is an instance of Step
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.layout.slider.Step`
          - A dict of string/value properties that will be passed
            to the Step constructor

        Returns
        -------
        plotly.graph_objs.layout.slider.Step
        r   r    r!   s    r#   r   zSlider.stepdefaults1  s    " N##r$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.stepdefaultsD  r4   r$   c                     | d         S )a  
        Used to refer to a named item in this array in the template.
        Named items from the template will be created even without a
        matching item in the input figure, but you can modify one by
        making an item with `templateitemname` matching its `name`,
        alongside your modifications (including `visible: false` or
        `enabled: false` to hide it). If there is no template or no
        matching item, this item will be hidden unless you explicitly
        show it with `visible: true`.

        The 'templateitemname' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string

        Returns
        -------
        str
        r   r    r!   s    r#   r   zSlider.templateitemnameH  s    ( &''r$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.templateitemname^  s    #&   r$   c                     | d         S )a  
        Sets the color of the border enclosing the slider.

        The 'tickcolor' property is a color and may be specified as:
          - A hex string (e.g. '#ff0000')
          - An rgb/rgba string (e.g. 'rgb(255,0,0)')
          - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
          - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
          - A named CSS color: see https://plotly.com/python/css-colors/ for a list

        Returns
        -------
        str
        r   r    r!   s    r#   r   zSlider.tickcolorb  s      K  r$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.tickcolort      [r$   c                     | d         S )z
        Sets the length in pixels of step tick marks

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

        Returns
        -------
        int|float
        r   r    r!   s    r#   r   zSlider.ticklenx       Ir$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.ticklen  r,   r$   c                     | d         S )z
        Sets the tick width (in px).

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

        Returns
        -------
        int|float
        r   r    r!   s    r#   r   zSlider.tickwidth  s     K  r$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.tickwidth  rK   r$   c                     | d         S )ay  
        The 'transition' property is an instance of Transition
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.layout.slider.Transition`
          - A dict of string/value properties that will be passed
            to the Transition constructor

        Returns
        -------
        plotly.graph_objs.layout.slider.Transition
        r   r    r!   s    r#   r   zSlider.transition  s     L!!r$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.transition  s     \r$   c                     | d         S )z
        Determines whether or not the slider is visible.

        The 'visible' property must be specified as a bool
        (either True, or False)

        Returns
        -------
        bool
        r   r    r!   s    r#   r   zSlider.visible  rM   r$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.visible  r,   r$   c                     | d         S )z
        Sets the x position (in normalized coordinates) of the slider.

        The 'x' property is a number and may be specified as:
          - An int or float in the interval [-2, 3]

        Returns
        -------
        int|float
        r   r    r!   s    r#   r   zSlider.x       Cyr$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.x      S			r$   c                     | d         S )a  
        Sets the slider's horizontal position anchor. This anchor binds
        the `x` position to the "left", "center" or "right" of the
        range selector.

        The 'xanchor' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['auto', 'left', 'center', 'right']

        Returns
        -------
        Any
        r   r    r!   s    r#   r   zSlider.xanchor       Ir$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.xanchor  r,   r$   c                     | d         S )z
        Sets the y position (in normalized coordinates) of the slider.

        The 'y' property is a number and may be specified as:
          - An int or float in the interval [-2, 3]

        Returns
        -------
        int|float
        r   r    r!   s    r#   r   zSlider.y  rV   r$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.y  rX   r$   c                     | d         S )a  
        Sets the slider's vertical position anchor This anchor binds
        the `y` position to the "top", "middle" or "bottom" of the
        range selector.

        The 'yanchor' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['auto', 'top', 'middle', 'bottom']

        Returns
        -------
        Any
        r   r    r!   s    r#   r   zSlider.yanchor  rZ   r$   c                     || d<   d S )Nr   r    r&   s     r#   r   zSlider.yanchor  r,   r$   c                     dS )Nao          active
            Determines which button (by index starting from 0) is
            considered active.
        activebgcolor
            Sets the background color of the slider grip while
            dragging.
        bgcolor
            Sets the background color of the slider.
        bordercolor
            Sets the color of the border enclosing the slider.
        borderwidth
            Sets the width (in px) of the border enclosing the
            slider.
        currentvalue
            :class:`plotly.graph_objects.layout.slider.Currentvalue
            ` instance or dict with compatible properties
        font
            Sets the font of the slider step labels.
        len
            Sets the length of the slider This measure excludes the
            padding of both ends. That is, the slider's length is
            this length minus the padding on both ends.
        lenmode
            Determines whether this slider length is set in units
            of plot "fraction" or in *pixels. Use `len` to set the
            value.
        minorticklen
            Sets the length in pixels of minor step tick marks
        name
            When used in a template, named items are created in the
            output figure in addition to any items the figure
            already has in this array. You can modify these items
            in the output figure by making your own item with
            `templateitemname` matching this `name` alongside your
            modifications (including `visible: false` or `enabled:
            false` to hide it). Has no effect outside of a
            template.
        pad
            Set the padding of the slider component along each
            side.
        steps
            A tuple of
            :class:`plotly.graph_objects.layout.slider.Step`
            instances or dicts with compatible properties
        stepdefaults
            When used in a template (as
            layout.template.layout.slider.stepdefaults), sets the
            default property values to use for elements of
            layout.slider.steps
        templateitemname
            Used to refer to a named item in this array in the
            template. Named items from the template will be created
            even without a matching item in the input figure, but
            you can modify one by making an item with
            `templateitemname` matching its `name`, alongside your
            modifications (including `visible: false` or `enabled:
            false` to hide it). If there is no template or no
            matching item, this item will be hidden unless you
            explicitly show it with `visible: true`.
        tickcolor
            Sets the color of the border enclosing the slider.
        ticklen
            Sets the length in pixels of step tick marks
        tickwidth
            Sets the tick width (in px).
        transition
            :class:`plotly.graph_objects.layout.slider.Transition`
            instance or dict with compatible properties
        visible
            Determines whether or not the slider is visible.
        x
            Sets the x position (in normalized coordinates) of the
            slider.
        xanchor
            Sets the slider's horizontal position anchor. This
            anchor binds the `x` position to the "left", "center"
            or "right" of the range selector.
        y
            Sets the y position (in normalized coordinates) of the
            slider.
        yanchor
            Sets the slider's vertical position anchor This anchor
            binds the `y` position to the "top", "middle" or
            "bottom" of the range selector.
        r    r!   s    r#   _prop_descriptionszSlider._prop_descriptions  s    U Ur$   Nc           	      :   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||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||	           |                     d||
           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d ||            | j        d!i t          |fi | d| _        dS )"a  
        Construct a new Slider object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of :class:`plotly.graph_objs.layout.Slider`
        active
            Determines which button (by index starting from 0) is
            considered active.
        activebgcolor
            Sets the background color of the slider grip while
            dragging.
        bgcolor
            Sets the background color of the slider.
        bordercolor
            Sets the color of the border enclosing the slider.
        borderwidth
            Sets the width (in px) of the border enclosing the
            slider.
        currentvalue
            :class:`plotly.graph_objects.layout.slider.Currentvalue
            ` instance or dict with compatible properties
        font
            Sets the font of the slider step labels.
        len
            Sets the length of the slider This measure excludes the
            padding of both ends. That is, the slider's length is
            this length minus the padding on both ends.
        lenmode
            Determines whether this slider length is set in units
            of plot "fraction" or in *pixels. Use `len` to set the
            value.
        minorticklen
            Sets the length in pixels of minor step tick marks
        name
            When used in a template, named items are created in the
            output figure in addition to any items the figure
            already has in this array. You can modify these items
            in the output figure by making your own item with
            `templateitemname` matching this `name` alongside your
            modifications (including `visible: false` or `enabled:
            false` to hide it). Has no effect outside of a
            template.
        pad
            Set the padding of the slider component along each
            side.
        steps
            A tuple of
            :class:`plotly.graph_objects.layout.slider.Step`
            instances or dicts with compatible properties
        stepdefaults
            When used in a template (as
            layout.template.layout.slider.stepdefaults), sets the
            default property values to use for elements of
            layout.slider.steps
        templateitemname
            Used to refer to a named item in this array in the
            template. Named items from the template will be created
            even without a matching item in the input figure, but
            you can modify one by making an item with
            `templateitemname` matching its `name`, alongside your
            modifications (including `visible: false` or `enabled:
            false` to hide it). If there is no template or no
            matching item, this item will be hidden unless you
            explicitly show it with `visible: true`.
        tickcolor
            Sets the color of the border enclosing the slider.
        ticklen
            Sets the length in pixels of step tick marks
        tickwidth
            Sets the tick width (in px).
        transition
            :class:`plotly.graph_objects.layout.slider.Transition`
            instance or dict with compatible properties
        visible
            Determines whether or not the slider is visible.
        x
            Sets the x position (in normalized coordinates) of the
            slider.
        xanchor
            Sets the slider's horizontal position anchor. This
            anchor binds the `x` position to the "left", "center"
            or "right" of the range selector.
        y
            Sets the y position (in normalized coordinates) of the
            slider.
        yanchor
            Sets the slider's vertical position anchor This anchor
            binds the `y` position to the "top", "middle" or
            "bottom" of the range selector.

        Returns
        -------
        Slider
        sliders_parentNzThe first argument to the plotly.graph_objs.layout.Slider
constructor must be a dict or
an instance of :class:`plotly.graph_objs.layout.Slider`skip_invalidF	_validateTr   r   r   r   r   r   r   r	   r   r   r   r
   r   r   r   r   r   r   r   r   r   r   r   r   r    )super__init__rd   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidrf   _set_property_process_kwargs)r"   argr   r   r   r   r   r   r   r	   r   r   r   r
   r   r   r   r   r   r   r   r   r   r   r   r   kwargsrj   s                              r#   rh   zSlider.__init__h  sK   | 	###!),DLF;CCT^,, 
	$$&&CCT"" 	*S//CC;   $ZZ>>K668S&111?C???9c7333=#{;;;=#{;;;>3===63---5#s+++9c7333>3===63---5#s+++7C///>3===-s4DEEE;Y7779c7333;Y777<j9999c73333Q'''9c73333Q'''9c733333tC22622333"r$   )NNNNNNNNNNNNNNNNNNNNNNNNN)#__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr   setterr   r   r   r   r   r   r	   r   r   r   r
   r   r   r   r   r   r   r   r   r   r   r   r   ra   rh   __classcell__)rj   s   @r#   r   r      s#       I  L6   X ]  ] % % X%" $ $ $   X" ^  ^ # # X#" " " " # # X# " " " $ $ X$ # # #   X  
[  [   X 	Z  Z   X ^  ^ $ $ X$ # # #   X( 
[  [   X  	Z  Z   X \  \ $ $ X$$ # # # ( ( X(* ' ' ' ! ! X!"         X ^  ^ ! ! X!       " " X" ! ! !   X ^  ^   X X  X   X  ^  ^   X X  X   X  ^  ^ V V XVt 

5m# m# m# m# m# m# m# m# m# m#r$   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTypern   rm   r   r    r$   r#   <module>r      se    U T T T T T    M# M# M# M# M#% M# M# M# M# M#r$   