
    .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 )Titlezlayout.legendzlayout.legend.title>   fontsidetextc                     | d   S )a  
        Sets this legend's title font. Defaults to `legend.font` with
        its size increased about 20%.

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

        Returns
        -------
        plotly.graph_objs.layout.legend.title.Font
        r    selfs    c/opt/house_gps_flutter/.venv/lib/python3.12/site-packages/plotly/graph_objs/layout/legend/_title.pyr   z
Title.font   s      F|    c                     || d<   y )Nr   r
   r   vals     r   r   z
Title.font       Vr   c                     | d   S )aT  
        Determines the location of legend's title with respect to the
        legend items. Defaulted to "top" with `orientation` is "h".
        Defaulted to "left" with `orientation` is "v". The *top left*
        options could be used to expand top center and top right are
        for horizontal alignment legend area in both x and y sides.

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

        Returns
        -------
        Any
        r   r
   r   s    r   r   z
Title.side#   s    " F|r   c                     || d<   y )Nr   r
   r   s     r   r   z
Title.side6   r   r   c                     | d   S )z
        Sets the title of the legend.

        The 'text' 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
Title.text:   s     F|r   c                     || d<   y )Nr   r
   r   s     r   r   z
Title.textI   r   r   c                      y)NaF          font
            Sets this legend's title font. Defaults to
            `legend.font` with its size increased about 20%.
        side
            Determines the location of legend's title with respect
            to the legend items. Defaulted to "top" with
            `orientation` is "h". Defaulted to "left" with
            `orientation` is "v". The *top left* options could be
            used to expand top center and top right are for
            horizontal alignment legend area in both x and y sides.
        text
            Sets the title of the legend.
        r
   r   s    r   _prop_descriptionszTitle._prop_descriptionsM   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)ag  
        Construct a new Title object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.layout.legend.Title`
        font
            Sets this legend's title font. Defaults to
            `legend.font` with its size increased about 20%.
        side
            Determines the location of legend's title with respect
            to the legend items. Defaulted to "top" with
            `orientation` is "h". Defaulted to "left" with
            `orientation` is "v". The *top left* options could be
            used to expand top center and top right are for
            horizontal alignment legend area in both x and y sides.
        text
            Sets the title of the legend.

        Returns
        -------
        Title
        title_parentNzThe first argument to the plotly.graph_objs.layout.legend.Title
constructor must be a dict or
an instance of :class:`plotly.graph_objs.layout.legend.Title`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Title.__init__^   s    6 	!!),DL;CT^^,$$&CT"**S/C A B B
 $ZZ>K663-63-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+L " 
[[   $ 
[[    
[[    3# 3#r   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTyper%   r$   r   r
   r   r   <module>r8      s    U I#$ I#r   