
    .i                     .    d dl mZ d dlZ G d de      Zy)    )BaseTraceHierarchyTypeNc                       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	 d fd	Z xZS )Number	indicatorzindicator.number>   fontprefixsuffixvalueformatc                     | d   S )a  
        Set the font used to display main number

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

        Returns
        -------
        plotly.graph_objs.indicator.number.Font
        r    selfs    `/opt/house_gps_flutter/.venv/lib/python3.12/site-packages/plotly/graph_objs/indicator/_number.pyr   zNumber.font   s     F|    c                     || d<   y )Nr   r   r   vals     r   r   zNumber.font   s    Vr   c                     | d   S )z
        Sets a prefix appearing before the number.

        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Number.prefix"        H~r   c                     || d<   y )Nr   r   r   s     r   r   zNumber.prefix1       Xr   c                     | d   S )z
        Sets a suffix appearing next to the number.

        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Number.suffix5   r   r   c                     || d<   y )Nr	   r   r   s     r   r	   zNumber.suffixD   r   r   c                     | d   S )a  
        Sets the value formatting rule using d3 formatting mini-
        languages which are very similar to those in Python. For
        numbers, see:
        https://github.com/d3/d3-format/tree/v1.4.5#d3-format.

        The 'valueformat' 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Number.valueformatH   s      M""r   c                     || d<   y )Nr
   r   r   s     r   r
   zNumber.valueformatZ   s    !]r   c                      y)Na          font
            Set the font used to display main number
        prefix
            Sets a prefix appearing before the number.
        suffix
            Sets a suffix appearing next to the number.
        valueformat
            Sets the value formatting rule using d3 formatting
            mini-languages which are very similar to those in
            Python. For numbers, see:
            https://github.com/d3/d3-format/tree/v1.4.5#d3-format.
        r   r   s    r   _prop_descriptionszNumber._prop_descriptions^   s    r   c           	      6   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i t        |fi | d| _        y)a  
        Construct a new Number object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.indicator.Number`
        font
            Set the font used to display main number
        prefix
            Sets a prefix appearing before the number.
        suffix
            Sets a suffix appearing next to the number.
        valueformat
            Sets the value formatting rule using d3 formatting
            mini-languages which are very similar to those in
            Python. For numbers, see:
            https://github.com/d3/d3-format/tree/v1.4.5#d3-format.

        Returns
        -------
        Number
        number_parentNzThe first argument to the plotly.graph_objs.indicator.Number
constructor must be a dict or
an instance of :class:`plotly.graph_objs.indicator.Number`skip_invalidF	_validateTr   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
   kwargsr&   s          r   r$   zNumber.__init__n   s   8 	"!),DL;CT^^,$$&CT"**S/C > ? ?
 $ZZ>K663-8S&18S&1=#{;3tC2623"r   )NNNNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr   setterr   r	   r
   r   r$   __classcell__)r&   s   @r   r   r      s    ""I>L   
[[    ]]    ]]  # #" " "    JN5# 5#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper*   r)   r   r   r   r   <module>r=      s    S [#$ [#r   