
    gA                     .    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 )Boundsz
layout.mapzlayout.map.bounds>   eastwestnorthsouthc                     | d   S )a  
        Sets the maximum longitude of the map (in degrees East) if
        `west`, `south` and `north` are declared.

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

        Returns
        -------
        int|float
        r    selfs    a/var/www/dash_apps/app1/venv/lib/python3.12/site-packages/plotly/graph_objs/layout/map/_bounds.pyr   zBounds.east        F|    c                     || d<   y )Nr   r   r   vals     r   r   zBounds.east       Vr   c                     | d   S )a  
        Sets the maximum latitude of the map (in degrees North) if
        `east`, `west` and `south` are declared.

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

        Returns
        -------
        int|float
        r   r   r   s    r   r   zBounds.north$        G}r   c                     || d<   y )Nr   r   r   s     r   r   zBounds.north3       Wr   c                     | d   S )a  
        Sets the minimum latitude of the map (in degrees North) if
        `east`, `west` and `north` are declared.

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

        Returns
        -------
        int|float
        r	   r   r   s    r   r	   zBounds.south9   r   r   c                     || d<   y )Nr	   r   r   s     r   r	   zBounds.southH   r   r   c                     | d   S )a  
        Sets the minimum longitude of the map (in degrees East) if
        `east`, `south` and `north` are declared.

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

        Returns
        -------
        int|float
        r   r   r   s    r   r   zBounds.westN   r   r   c                     || d<   y )Nr   r   r   s     r   r   zBounds.west]   r   r   c                      y)Na0          east
            Sets the maximum longitude of the map (in degrees East)
            if `west`, `south` and `north` are declared.
        north
            Sets the maximum latitude of the map (in degrees North)
            if `east`, `west` and `south` are declared.
        south
            Sets the minimum latitude of the map (in degrees North)
            if `east`, `west` and `north` are declared.
        west
            Sets the minimum longitude of the map (in degrees East)
            if `east`, `south` and `north` are declared.
        r   r   s    r   _prop_descriptionszBounds._prop_descriptionsc   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)aQ  
        Construct a new Bounds object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.layout.map.Bounds`
        east
            Sets the maximum longitude of the map (in degrees East)
            if `west`, `south` and `north` are declared.
        north
            Sets the maximum latitude of the map (in degrees North)
            if `east`, `west` and `south` are declared.
        south
            Sets the minimum latitude of the map (in degrees North)
            if `east`, `west` and `north` are declared.
        west
            Sets the minimum longitude of the map (in degrees East)
            if `east`, `south` and `north` are declared.

        Returns
        -------
        Bounds
        bounds_parentNzThe first argument to the plotly.graph_objs.layout.map.Bounds
constructor must be a dict or
an instance of :class:`plotly.graph_objs.layout.map.Bounds`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Bounds.__init__t   sv   : 	fd$X.!),DL ;CT^^,$$&CT"**S/C?  $ZZ>K6 WWVT"%T2>DLWWWd#'UR>DMWWWd#'UR>DMWWVT"%T2>DL 	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5L   
[[ 
   \\ 
   \\ 
   
[[ 
  " AEQ# Q#r   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTyper+   r*   r   r   r   r   <module>r>      s    T @#% @#r   