
    g                     .    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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    `/var/www/dash_apps/app1/venv/lib/python3.12/site-packages/plotly/graph_objs/layout/title/_pad.pyr   zPad.b        Cy    c                     || d<   y )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<   y )Nr   r   r   s     r   r   zPad.l3   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.r9   r   r   c                     || d<   y )Nr   r   r   s     r   r   zPad.rH   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.tN   s     Cyr   c                     || d<   y )Nr	   r   r   s     r   r	   zPad.t\   r   r   c                      y)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_descriptionsb   s    r   c           	         t         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	d      }||n|}||| d	<   |j                  d
d      }||n|}||| d
<   |j                  dd      }||n|}||| d<   |j                  dd      }||n|}||| d<    | j                  di t        |fi | d| _        y)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   )superr   __init__r   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr!   _process_kwargs)	r   argr   r   r   r	   kwargs_vr%   s	           r   r#   zPad.__init__s   ss   D 	c4!%(!),DL ;CT^^,$$&CT"**S/C>  $ZZ>K6 WWS$-QR>DIWWS$-QR>DIWWS$-QR>DIWWS$-QR>DI 	3tC262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      s     &"I'L   XX 
   XX 
   XX 
   XX 
   V# V#r   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTyper)   r(   r   r   r   r   <module>r<      s    T D#
" D#r   