
    ~i                     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ej        d             Zed             Zd fd	Z xZS )Padzlayout.titlezlayout.title.pad>   blrtc                     | d         S )z
        The amount of padding (in px) along the bottom of the
        component.

        The 'b' property is a number and may be specified as:
          - An int or float

        Returns
        -------
        int|float
        r    selfs    W/home/jrussi/.local/lib/python3.11/site-packages/plotly/graph_objs/layout/title/_pad.pyr   zPad.b        Cy    c                     || d<   d S )Nr   r   r   vals     r   r   zPad.b       S			r   c                     | d         S )z
        The amount of padding (in px) on the left side of the
        component.

        The 'l' property is a number and may be specified as:
          - An int or float

        Returns
        -------
        int|float
        r   r   r   s    r   r   zPad.l    r   r   c                     || d<   d S )Nr   r   r   s     r   r   zPad.l/   r   r   c                     | d         S )z
        The amount of padding (in px) on the right side of the
        component.

        The 'r' property is a number and may be specified as:
          - An int or float

        Returns
        -------
        int|float
        r   r   r   s    r   r   zPad.r3   r   r   c                     || d<   d S )Nr   r   r   s     r   r   zPad.rB   r   r   c                     | d         S )z
        The amount of padding (in px) along the top of the component.

        The 't' property is a number and may be specified as:
          - An int or float

        Returns
        -------
        int|float
        r	   r   r   s    r   r	   zPad.tF   s     Cyr   c                     || d<   d S )Nr	   r   r   s     r   r	   zPad.tT   r   r   c                     dS )Na          b
            The amount of padding (in px) along the bottom of the
            component.
        l
            The amount of padding (in px) on the left side of the
            component.
        r
            The amount of padding (in px) on the right side of the
            component.
        t
            The amount of padding (in px) along the top of the
            component.
        r   r   s    r   _prop_descriptionszPad._prop_descriptionsX   s     r   Nc           	         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||           |                     d||            | j        di t          |fi | d| _        dS )a8  
        Construct a new Pad object

        Sets the padding of the title. Each padding value only applies
        when the corresponding `xanchor`/`yanchor` value is set
        accordingly. E.g. for left padding to take effect, `xanchor`
        must be set to "left". The same rule applies if
        `xanchor`/`yanchor` is determined automatically. Padding is
        muted if the respective anchor value is "middle*/*center".

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.layout.title.Pad`
        b
            The amount of padding (in px) along the bottom of the
            component.
        l
            The amount of padding (in px) on the left side of the
            component.
        r
            The amount of padding (in px) on the right side of the
            component.
        t
            The amount of padding (in px) along the top of the
            component.

        Returns
        -------
        Pad
        pad_parentNzThe first argument to the plotly.graph_objs.layout.title.Pad
constructor must be a dict or
an instance of :class:`plotly.graph_objs.layout.title.Pad`skip_invalidF	_validateTr   r   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   r	   kwargsr%   s          r   r#   zPad.__init__i   si   D 	!),DLF;CCT^,, 	?$$&&CCT"" 	?*S//CC > ? ? ?
 $ZZ>>K663Q'''3Q'''3Q'''3Q'''33tC22622333"r   )NNNNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr   setterr   r   r	   r   r#   __classcell__)r%   s   @r   r   r      sL       %"I'''L  X X  X   X X  X   X X  X   X X  X   X ;# ;# ;# ;# ;# ;# ;# ;# ;# ;#r   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTyper)   r(   r   r   r   r   <module>r<      se    U T T T T T    \# \# \# \# \#
" \# \# \# \# \#r   