
    ~io                     6    d dl mZ d dlZ G d de          ZdS )    )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.yaxiszlayout.yaxis.title>   fonttextstandoffc                     | d         S )a  
        Sets this axis' title font.

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

        Returns
        -------
        plotly.graph_objs.layout.yaxis.title.Font
        r    selfs    Y/home/jrussi/.local/lib/python3.11/site-packages/plotly/graph_objs/layout/yaxis/_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 )a  
        Sets the standoff distance (in px) between the axis labels and
        the title text The default value is a function of the axis tick
        labels, the title `font.size` and the axis `linewidth`. Note
        that the axis title position is always constrained within the
        margins, so the actual standoff distance is always less than
        the set or default value. By setting `standoff` and turning on
        `automargin`, plotly.js will push the margins to fit the axis
        title at given standoff distance.

        The 'standoff' property is a number and may be specified as:
          - An int or float in the interval [0, inf]

        Returns
        -------
        int|float
        r   r
   r   s    r   r   zTitle.standoff"   s    & Jr   c                     || d<   d S )Nr   r
   r   s     r   r   zTitle.standoff7   s    Zr   c                     | d         S )z
        Sets the title of this axis.

        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<   d S )Nr   r
   r   s     r   r   z
Title.textJ   r   r   c                     dS )Na          font
            Sets this axis' title font.
        standoff
            Sets the standoff distance (in px) between the axis
            labels and the title text The default value is a
            function of the axis tick labels, the title `font.size`
            and the axis `linewidth`. Note that the axis title
            position is always constrained within the margins, so
            the actual standoff distance is always less than the
            set or default value. By setting `standoff` and turning
            on `automargin`, plotly.js will push the margins to fit
            the axis title at given standoff distance.
        text
            Sets the title of this axis.
        r
   r   s    r   _prop_descriptionszTitle._prop_descriptionsN   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.layout.yaxis.Title`
        font
            Sets this axis' title font.
        standoff
            Sets the standoff distance (in px) between the axis
            labels and the title text The default value is a
            function of the axis tick labels, the title `font.size`
            and the axis `linewidth`. Note that the axis title
            position is always constrained within the margins, so
            the actual standoff distance is always less than the
            set or default value. By setting `standoff` and turning
            on `automargin`, plotly.js will push the margins to fit
            the axis title at given standoff distance.
        text
            Sets the title of this axis.

        Returns
        -------
        Title
        title_parentNzThe first argument to the plotly.graph_objs.layout.yaxis.Title
constructor must be a dict or
an instance of :class:`plotly.graph_objs.layout.yaxis.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__a   sV   : 	!!!!),DLF;CCT^,, 	A$$&&CCT"" 	A*S//CC @ A A A
 $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$5# 5# 5# 5# 5# 5# 5# 5# 5# 5#r   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTyper%   r$   r   r
   r   r   <module>r8      se    U T T T T T    N# N# N# N# N#$ N# N# N# N# N#r   