
    .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d fd	Z xZS )
Hoverlabelzlayout.annotationzlayout.annotation.hoverlabel>   fontbgcolorbordercolorc                     | d   S )a<  
        Sets the background color of the hover label. By default uses
        the annotation's `bgcolor` made opaque, or white if it was
        transparent.

        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    selfs    l/opt/house_gps_flutter/.venv/lib/python3.12/site-packages/plotly/graph_objs/layout/annotation/_hoverlabel.pyr   zHoverlabel.bgcolor   s    $ I    c                     || d<   y )Nr   r
   r   vals     r   r   zHoverlabel.bgcolor!   s    Yr   c                     | d   S )a?  
        Sets the border color of the hover label. By default uses
        either dark grey or white, for maximum contrast with
        `hoverlabel.bgcolor`.

        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Hoverlabel.bordercolor%   s    $ M""r   c                     || d<   y )Nr   r
   r   s     r   r   zHoverlabel.bordercolor9   s    !]r   c                     | d   S )a  
        Sets the hover label text font. By default uses the global
        hover font and size, with color from `hoverlabel.bordercolor`.

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

        Returns
        -------
        plotly.graph_objs.layout.annotation.hoverlabel.Font
        r   r
   r   s    r   r   zHoverlabel.font=   s      F|r   c                     || d<   y )Nr   r
   r   s     r   r   zHoverlabel.fontO   s    Vr   c                      y)Na*          bgcolor
            Sets the background color of the hover label. By
            default uses the annotation's `bgcolor` made opaque, or
            white if it was transparent.
        bordercolor
            Sets the border color of the hover label. By default
            uses either dark grey or white, for maximum contrast
            with `hoverlabel.bgcolor`.
        font
            Sets the hover label text font. By default uses the
            global hover font and size, with color from
            `hoverlabel.bordercolor`.
        r
   r   s    r   _prop_descriptionszHoverlabel._prop_descriptionsS   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i t        |fi | d| _        y)a^  
        Construct a new Hoverlabel object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.layout.annotation.Hoverlabel`
        bgcolor
            Sets the background color of the hover label. By
            default uses the annotation's `bgcolor` made opaque, or
            white if it was transparent.
        bordercolor
            Sets the border color of the hover label. By default
            uses either dark grey or white, for maximum contrast
            with `hoverlabel.bgcolor`.
        font
            Sets the hover label text font. By default uses the
            global hover font and size, with color from
            `hoverlabel.bordercolor`.

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