
    WhG                     .    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d fd	Z xZS )Titlepiez	pie.title>   fonttextpositionc                     | d   S )a|  
        Sets the font used for `title`.

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

        Returns
        -------
        plotly.graph_objs.pie.title.Font
        r    selfs    V/var/www/html/jupyter_env/lib/python3.12/site-packages/plotly/graph_objs/pie/_title.pyr   z
Title.font   s     F|    c                     || d<   y )Nr   r   r   vals     r   r   z
Title.font       Vr   c                     | d   S )ap  
        Specifies the location of the `title`.

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

        Returns
        -------
        Any
        r	   r   r   s    r   r	   zTitle.position"   s     Jr   c                     || d<   y )Nr	   r   r   s     r   r	   zTitle.position2   s    Zr   c                     | d   S )a  
        Sets the title of the chart. If it is empty, no title is
        displayed.

        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.text6   s     F|r   c                     || d<   y )Nr   r   r   s     r   r   z
Title.textF   r   r   c                      y)Nz        font
            Sets the font used for `title`.
        position
            Specifies the location of the `title`.
        text
            Sets the title of the chart. If it is empty, no title
            is displayed.
        r   r   s    r   _prop_descriptionszTitle._prop_descriptionsJ   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 Title object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of :class:`plotly.graph_objs.pie.Title`
        font
            Sets the font used for `title`.
        position
            Specifies the location of the `title`.
        text
            Sets the title of the chart. If it is empty, no title
            is displayed.

        Returns
        -------
        Title
        title_parentNzThe first argument to the plotly.graph_objs.pie.Title
constructor must be a dict or
an instance of :class:`plotly.graph_objs.pie.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__V   s    * 	!!),DL;CT^^,$$&CT"**S/C 7 8 8
 $ZZ>K663-:sH5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   
[[      __    
[[  	 	-# -#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper&   r%   r   r   r   r   <module>r9      s    S {## {#r   