
    .i                     .    d dl mZ d dlZ G d de      Zy)    )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	 	 	 	 	 	 	 d fd	Z xZS )Currentvaluezlayout.sliderzlayout.slider.currentvalue>   fontoffsetprefixsuffixvisiblexanchorc                     | d   S )a  
        Sets the font of the current value label text.

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

        Returns
        -------
        plotly.graph_objs.layout.slider.currentvalue.Font
        r    selfs    j/opt/house_gps_flutter/.venv/lib/python3.12/site-packages/plotly/graph_objs/layout/slider/_currentvalue.pyr   zCurrentvalue.font   s     F|    c                     || d<   y )Nr   r   r   vals     r   r   zCurrentvalue.font   s    Vr   c                     | d   S )z
        The amount of space, in pixels, between the current value label
        and the slider.

        The 'offset' property is a number and may be specified as:
          - An int or float

        Returns
        -------
        int|float
        r   r   r   s    r   r   zCurrentvalue.offset"   s     H~r   c                     || d<   y )Nr   r   r   s     r   r   zCurrentvalue.offset1       Xr   c                     | d   S )a  
        When currentvalue.visible is true, this sets the prefix of the
        label.

        The 'prefix' 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Currentvalue.prefix5        H~r   c                     || d<   y )Nr   r   r   s     r   r   zCurrentvalue.prefixE   r   r   c                     | d   S )a  
        When currentvalue.visible is true, this sets the suffix of the
        label.

        The 'suffix' 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Currentvalue.suffixI   r   r   c                     || d<   y )Nr	   r   r   s     r   r	   zCurrentvalue.suffixY   r   r   c                     | d   S )z
        Shows the currently-selected value above the slider.

        The 'visible' property is a boolean and must be specified as:
          - A boolean value: True or False

        Returns
        -------
        bool
        r
   r   r   s    r   r
   zCurrentvalue.visible]   s     Ir   c                     || d<   y )Nr
   r   r   s     r   r
   zCurrentvalue.visiblek       Yr   c                     | d   S )a<  
        The alignment of the value readout relative to the length of
        the slider.

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

        Returns
        -------
        Any
        r   r   r   s    r   r   zCurrentvalue.xanchoro   s     Ir   c                     || d<   y )Nr   r   r   s     r   r   zCurrentvalue.xanchor   r   r   c                      y)Nac          font
            Sets the font of the current value label text.
        offset
            The amount of space, in pixels, between the current
            value label and the slider.
        prefix
            When currentvalue.visible is true, this sets the prefix
            of the label.
        suffix
            When currentvalue.visible is true, this sets the suffix
            of the label.
        visible
            Shows the currently-selected value above the slider.
        xanchor
            The alignment of the value readout relative to the
            length of the slider.
        r   r   s    r   _prop_descriptionszCurrentvalue._prop_descriptions   s    r   c           	         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	||       | j                  d
||       | j                  d||       | j                  d||       | j                  d||       | j                  d||        | j                  di t        |fi | d| _        y)a  
        Construct a new Currentvalue object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.layout.slider.Currentvalue`
        font
            Sets the font of the current value label text.
        offset
            The amount of space, in pixels, between the current
            value label and the slider.
        prefix
            When currentvalue.visible is true, this sets the prefix
            of the label.
        suffix
            When currentvalue.visible is true, this sets the suffix
            of the label.
        visible
            Shows the currently-selected value above the slider.
        xanchor
            The alignment of the value readout relative to the
            length of the slider.

        Returns
        -------
        Currentvalue
        currentvalue_parentNzThe first argument to the plotly.graph_objs.layout.slider.Currentvalue
constructor must be a dict or
an instance of :class:`plotly.graph_objs.layout.slider.Currentvalue`skip_invalidF	_validateTr   r   r   r	   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   r	   r
   r   kwargsr,   s
            r   r*   zCurrentvalue.__init__   s4   R 	(!),DL;CT^^,$$&CT"**S/C H I I
 $ZZ>K663-8S&18S&18S&19c739c733tC2623"r   )NNNNNNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr   setterr   r   r	   r
   r   r#   r*   __classcell__)r,   s   @r   r   r      sP   &,IOL   
[[    ]]    ]]    ]]    ^^    ^^   , D# D#r   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTyper0   r/   r   r   r   r   <module>rC      s    U T#+ T#r   