
    6Dh?                     .    S SK Jr  S SKr " S S\5      rg)    )BaseLayoutHierarchyTypeNc                     ^  \ rS rSrSrSr1 Skr\S 5       r\R                  S 5       r\S 5       r
\
R                  S 5       r
\S	 5       r\R                  S
 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r            SU 4S jjrSrU =r$ )Mapbox   layoutzlayout.mapbox>   zoompitchstyleboundscenterdomainlayersbearing
uirevisionaccesstokenlayerdefaultsc                     U S   $ )a  
Sets the mapbox access token to be used for this mapbox map.
Alternatively, the mapbox access token can be set in the
configuration options under `mapboxAccessToken`. Note that
accessToken are only required when `style` (e.g with values :
basic, streets, outdoors, light, dark, satellite, satellite-
streets ) and/or a layout layer references the Mapbox server.

The 'accesstoken' property is a string and must be specified as:
  - A non-empty string

Returns
-------
str
r    selfs    R/var/www/html/env/lib/python3.13/site-packages/plotly/graph_objs/layout/_mapbox.pyr   Mapbox.accesstoken   s    " M""    c                     XS'   g )Nr   r   r   vals     r   r   r   -   s
    !]r   c                     U S   $ )z
Sets the bearing angle of the map in degrees counter-clockwise
from North (mapbox.bearing).

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

Returns
-------
int|float
r   r   r   s    r   r   Mapbox.bearing1   s     Ir   c                     XS'   g )Nr   r   r   s     r   r   r   @   s	    Yr   c                     U S   $ )a  
The 'bounds' property is an instance of Bounds
that may be specified as:
  - An instance of :class:`plotly.graph_objs.layout.mapbox.Bounds`
  - A dict of string/value properties that will be passed
    to the Bounds constructor

Returns
-------
plotly.graph_objs.layout.mapbox.Bounds
r   r   r   s    r   r   Mapbox.boundsD        H~r   c                     XS'   g )Nr   r   r   s     r   r   r!   S   	    Xr   c                     U S   $ )a  
The 'center' property is an instance of Center
that may be specified as:
  - An instance of :class:`plotly.graph_objs.layout.mapbox.Center`
  - A dict of string/value properties that will be passed
    to the Center constructor

Returns
-------
plotly.graph_objs.layout.mapbox.Center
r   r   r   s    r   r   Mapbox.centerW   r"   r   c                     XS'   g )Nr   r   r   s     r   r   r&   f   r$   r   c                     U S   $ )a  
The 'domain' property is an instance of Domain
that may be specified as:
  - An instance of :class:`plotly.graph_objs.layout.mapbox.Domain`
  - A dict of string/value properties that will be passed
    to the Domain constructor

Returns
-------
plotly.graph_objs.layout.mapbox.Domain
r   r   r   s    r   r   Mapbox.domainj   r"   r   c                     XS'   g )Nr   r   r   s     r   r   r)   y   r$   r   c                     U S   $ )aC  
The 'layers' property is a tuple of instances of
Layer that may be specified as:
  - A list or tuple of instances of plotly.graph_objs.layout.mapbox.Layer
  - A list or tuple of dicts of string/value properties that
    will be passed to the Layer constructor

Returns
-------
tuple[plotly.graph_objs.layout.mapbox.Layer]
r   r   r   s    r   r   Mapbox.layers}   r"   r   c                     XS'   g )Nr   r   r   s     r   r   r,      r$   r   c                     U S   $ )a  
When used in a template (as
layout.template.layout.mapbox.layerdefaults), sets the default
property values to use for elements of layout.mapbox.layers

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

Returns
-------
plotly.graph_objs.layout.mapbox.Layer
r   r   r   s    r   r   Mapbox.layerdefaults   s    " O$$r   c                     XS'   g )Nr   r   r   s     r   r   r/      s
     #_r   c                     U S   $ )z
Sets the pitch angle of the map (in degrees, where 0 means
perpendicular to the surface of the map) (mapbox.pitch).

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

Returns
-------
int|float
r	   r   r   s    r   r	   Mapbox.pitch   s     G}r   c                     XS'   g )Nr	   r   r   s     r   r	   r2      	    Wr   c                     U S   $ )a  
Defines the map layers that are rendered by default below the
trace layers defined in `data`, which are themselves by default
rendered below the layers defined in `layout.mapbox.layers`.
These layers can be defined either explicitly as a Mapbox Style
object which can contain multiple layer definitions that load
data from any public or private Tile Map Service (TMS or XYZ)
or Web Map Service (WMS) or implicitly by using one of the
built-in style objects which use WMSes which do not require any
access tokens, or by using a default Mapbox style or custom
Mapbox style URL, both of which require a Mapbox access token
Note that Mapbox access token can be set in the `accesstoken`
attribute or in the `mapboxAccessToken` config option.  Mapbox
Style objects are of the form described in the Mapbox GL JS
documentation available at https://docs.mapbox.com/mapbox-gl-
js/style-spec  The built-in plotly.js styles objects are:
carto-darkmatter, carto-positron, open-street-map, stamen-
terrain, stamen-toner, stamen-watercolor, white-bg  The built-
in Mapbox styles are: basic, streets, outdoors, light, dark,
satellite, satellite-streets  Mapbox style URLs are of the
form: mapbox://mapbox.mapbox-<name>-<version>

The 'style' property accepts values of any type

Returns
-------
Any
r
   r   r   s    r   r
   Mapbox.style   s    < G}r   c                     XS'   g )Nr
   r   r   s     r   r
   r6      r4   r   c                     U S   $ )z
Controls persistence of user-driven changes in the view:
`center`, `zoom`, `bearing`, `pitch`. Defaults to
`layout.uirevision`.

The 'uirevision' property accepts values of any type

Returns
-------
Any
r   r   r   s    r   r   Mapbox.uirevision   s     L!!r   c                     XS'   g )Nr   r   r   s     r   r   r9      s
     \r   c                     U S   $ )z
Sets the zoom level of the map (mapbox.zoom).

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

Returns
-------
int|float
r   r   r   s    r   r   Mapbox.zoom   s     F|r   c                     XS'   g )Nr   r   r   s     r   r   r<      s	    Vr   c                     g)Na          accesstoken
            Sets the mapbox access token to be used for this mapbox
            map. Alternatively, the mapbox access token can be set
            in the configuration options under `mapboxAccessToken`.
            Note that accessToken are only required when `style`
            (e.g with values : basic, streets, outdoors, light,
            dark, satellite, satellite-streets ) and/or a layout
            layer references the Mapbox server.
        bearing
            Sets the bearing angle of the map in degrees counter-
            clockwise from North (mapbox.bearing).
        bounds
            :class:`plotly.graph_objects.layout.mapbox.Bounds`
            instance or dict with compatible properties
        center
            :class:`plotly.graph_objects.layout.mapbox.Center`
            instance or dict with compatible properties
        domain
            :class:`plotly.graph_objects.layout.mapbox.Domain`
            instance or dict with compatible properties
        layers
            A tuple of
            :class:`plotly.graph_objects.layout.mapbox.Layer`
            instances or dicts with compatible properties
        layerdefaults
            When used in a template (as
            layout.template.layout.mapbox.layerdefaults), sets the
            default property values to use for elements of
            layout.mapbox.layers
        pitch
            Sets the pitch angle of the map (in degrees, where 0
            means perpendicular to the surface of the map)
            (mapbox.pitch).
        style
            Defines the map layers that are rendered by default
            below the trace layers defined in `data`, which are
            themselves by default rendered below the layers defined
            in `layout.mapbox.layers`.  These layers can be defined
            either explicitly as a Mapbox Style object which can
            contain multiple layer definitions that load data from
            any public or private Tile Map Service (TMS or XYZ) or
            Web Map Service (WMS) or implicitly by using one of the
            built-in style objects which use WMSes which do not
            require any access tokens, or by using a default Mapbox
            style or custom Mapbox style URL, both of which require
            a Mapbox access token  Note that Mapbox access token
            can be set in the `accesstoken` attribute or in the
            `mapboxAccessToken` config option.  Mapbox Style
            objects are of the form described in the Mapbox GL JS
            documentation available at
            https://docs.mapbox.com/mapbox-gl-js/style-spec  The
            built-in plotly.js styles objects are: carto-
            darkmatter, carto-positron, open-street-map, stamen-
            terrain, stamen-toner, stamen-watercolor, white-bg  The
            built-in Mapbox styles are: basic, streets, outdoors,
            light, dark, satellite, satellite-streets  Mapbox style
            URLs are of the form:
            mapbox://mapbox.mapbox-<name>-<version>
        uirevision
            Controls persistence of user-driven changes in the
            view: `center`, `zoom`, `bearing`, `pitch`. Defaults to
            `layout.uirevision`.
        zoom
            Sets the zoom level of the map (mapbox.zoom).
        r   r   s    r   _prop_descriptionsMapbox._prop_descriptions  s    Ar   c           	      D  > [         TU ]  S5        SU;   a  US   U l        gUc  0 nOb[        XR                  5      (       a  UR                  5       nO7[        U[        5      (       a  [        R                  " U5      nO[        S5      eUR                  SS5      U l        UR                  SS5      U l        U R                  S	X5        U R                  S
X5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  " S0 [        U40 UD6D6  SU l        g)a  
Construct a new Mapbox object

Parameters
----------
arg
    dict of properties compatible with this constructor or
    an instance of :class:`plotly.graph_objs.layout.Mapbox`
accesstoken
    Sets the mapbox access token to be used for this mapbox
    map. Alternatively, the mapbox access token can be set
    in the configuration options under `mapboxAccessToken`.
    Note that accessToken are only required when `style`
    (e.g with values : basic, streets, outdoors, light,
    dark, satellite, satellite-streets ) and/or a layout
    layer references the Mapbox server.
bearing
    Sets the bearing angle of the map in degrees counter-
    clockwise from North (mapbox.bearing).
bounds
    :class:`plotly.graph_objects.layout.mapbox.Bounds`
    instance or dict with compatible properties
center
    :class:`plotly.graph_objects.layout.mapbox.Center`
    instance or dict with compatible properties
domain
    :class:`plotly.graph_objects.layout.mapbox.Domain`
    instance or dict with compatible properties
layers
    A tuple of
    :class:`plotly.graph_objects.layout.mapbox.Layer`
    instances or dicts with compatible properties
layerdefaults
    When used in a template (as
    layout.template.layout.mapbox.layerdefaults), sets the
    default property values to use for elements of
    layout.mapbox.layers
pitch
    Sets the pitch angle of the map (in degrees, where 0
    means perpendicular to the surface of the map)
    (mapbox.pitch).
style
    Defines the map layers that are rendered by default
    below the trace layers defined in `data`, which are
    themselves by default rendered below the layers defined
    in `layout.mapbox.layers`.  These layers can be defined
    either explicitly as a Mapbox Style object which can
    contain multiple layer definitions that load data from
    any public or private Tile Map Service (TMS or XYZ) or
    Web Map Service (WMS) or implicitly by using one of the
    built-in style objects which use WMSes which do not
    require any access tokens, or by using a default Mapbox
    style or custom Mapbox style URL, both of which require
    a Mapbox access token  Note that Mapbox access token
    can be set in the `accesstoken` attribute or in the
    `mapboxAccessToken` config option.  Mapbox Style
    objects are of the form described in the Mapbox GL JS
    documentation available at
    https://docs.mapbox.com/mapbox-gl-js/style-spec  The
    built-in plotly.js styles objects are: carto-
    darkmatter, carto-positron, open-street-map, stamen-
    terrain, stamen-toner, stamen-watercolor, white-bg  The
    built-in Mapbox styles are: basic, streets, outdoors,
    light, dark, satellite, satellite-streets  Mapbox style
    URLs are of the form:
    mapbox://mapbox.mapbox-<name>-<version>
uirevision
    Controls persistence of user-driven changes in the
    view: `center`, `zoom`, `bearing`, `pitch`. Defaults to
    `layout.uirevision`.
zoom
    Sets the zoom level of the map (mapbox.zoom).

Returns
-------
Mapbox
mapbox_parentNzThe first argument to the plotly.graph_objs.layout.Mapbox
constructor must be a dict or
an instance of :class:`plotly.graph_objs.layout.Mapbox`skip_invalidF	_validateTr   r   r   r   r   r   r   r	   r
   r   r   r   )super__init__rC   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidrE   _set_property_process_kwargs)r   argr   r   r   r   r   r   r   r	   r
   r   r   kwargsrI   s                 r   rG   Mapbox.__init__H  sw   z 	"!),DL;C^^,,$$&CT""**S/C;  $ZZ>K6=#;9c38S18S18S18S1?C?7C/7C/<963-3tC2623"r   )rC   rP   rE   )NNNNNNNNNNNN)__name__
__module____qualname____firstlineno___parent_path_str	_path_str_valid_propspropertyr   setterr   r   r   r   r   r   r	   r
   r   r   r?   rG   __static_attributes____classcell__)rI   s   @r   r   r      sH   IL # #$ " "   ^^    ]]    ]]    ]]    ]]  % %$ $ $   \\   > \\  " " ! !   
[[  B BL # #r   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTyperM   rL   r   r   r   r   <module>rc      s    U #% #r   