
    -Phf                     6    d dl mZ d dlZ G d de          ZdS )    )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    \/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/plotly/graph_objs/pie/_title.pyr   z
Title.font   s     F|    c                     || d<   d S )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<   d S )Nr	   r   r   s     r   r	   zTitle.position3   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.text7   s     F|r   c                     || d<   d S )Nr   r   r   s     r   r   z
Title.textG   r   r   c                     dS )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_descriptionsK   s     r   Nc           	      t   t                                          d           d|v r|d         | _        dS |i }nct          || j                  r|                                }n9t          |t                    rt          j        |          }nt          d          |
                    dd          | _        |
                    dd          | _        |                     d	||           |                     d
||           |                     d||            | j        di t          |fi | d| _        dS )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__W   sP   * 	!!!!),DLF;CCT^,, 
	$$&&CCT"" 	*S//CC7   $ZZ>>K6663---:sH55563---33tC2262233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  X  
[  [     X  _  _   X 
[  [ 	 	 X	/# /# /# /# /# /# /# /# /# /#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper&   r%   r   r   r   r   <module>r9      se    S R R R R R    ~# ~# ~# ~# ~## ~# ~# ~# ~# ~#r   