layout.geo
fig.update_geos(...)
fig.update_geos(bgcolor=<VALUE>)
"#fff"
Set the background color of the map
fig.update_geos(center=dict(...))
fig.update_geos(center_lat=<VALUE>)
Sets the latitude of the map's center. For all projection types, the map's latitude center lies at the middle of the latitude range by default.
fig.update_geos(center_lon=<VALUE>)
Sets the longitude of the map's center. By default, the map's longitude center lies at the middle of the longitude range for scoped projection and above `projection.rotation.lon` otherwise.
fig.update_geos(coastlinecolor=<VALUE>)
"#444"
Sets the coastline color.
fig.update_geos(coastlinewidth=<VALUE>)
1
Sets the coastline stroke width (in px).
fig.update_geos(countrycolor=<VALUE>)
"#444"
Sets line color of the country boundaries.
fig.update_geos(countrywidth=<VALUE>)
1
Sets line width (in px) of the country boundaries.
fig.update_geos(domain=dict(...))
fig.update_geos(domain_column=<VALUE>)
0
If there is a layout grid, use the domain for this column in the grid for this geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both.
fig.update_geos(domain_row=<VALUE>)
0
If there is a layout grid, use the domain for this row in the grid for this geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both.
fig.update_geos(domain_x=list(...))
[0, 1]
Sets the horizontal domain of this geo subplot (in plot fraction). Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both.
fig.update_geos(domain_y=list(...))
[0, 1]
Sets the vertical domain of this geo subplot (in plot fraction). Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both.
fig.update_geos(fitbounds=<VALUE>)
False
| "locations"
| "geojson"
)
Determines if this subplot's view settings are auto-computed to fit trace data. On scoped maps, setting `fitbounds` leads to `center.lon` and `center.lat` getting auto-filled. On maps with a non-clipped projection, setting `fitbounds` leads to `center.lon`, `center.lat`, and `projection.rotation.lon` getting auto-filled. On maps with a clipped projection, setting `fitbounds` leads to `center.lon`, `center.lat`, `projection.rotation.lon`, `projection.rotation.lat`, `lonaxis.range` and `lataxis.range` getting auto-filled. If "locations", only the trace's visible locations are considered in the `fitbounds` computations. If "geojson", the entire trace input `geojson` (if provided) is considered in the `fitbounds` computations, Defaults to "False".
fig.update_geos(framecolor=<VALUE>)
"#444"
Sets the color the frame.
fig.update_geos(framewidth=<VALUE>)
1
Sets the stroke width (in px) of the frame.
fig.update_geos(lakecolor=<VALUE>)
"#3399FF"
Sets the color of the lakes.
fig.update_geos(landcolor=<VALUE>)
"#F0DC82"
Sets the land mass color.
fig.update_geos(lataxis=dict(...))
fig.update_geos(lataxis_dtick=<VALUE>)
Sets the graticule's longitude/latitude tick step.
fig.update_geos(lataxis_gridcolor=<VALUE>)
"#eee"
Sets the graticule's stroke color.
fig.update_geos(lataxis_griddash=<VALUE>)
"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
fig.update_geos(lataxis_gridwidth=<VALUE>)
1
Sets the graticule's stroke width (in px).
fig.update_geos(lataxis_range=list(...))
Sets the range of this axis (in degrees), sets the map's clipped coordinates.
fig.update_geos(lataxis_showgrid=<VALUE>)
Sets whether or not graticule are shown on the map.
fig.update_geos(lataxis_tick0=<VALUE>)
0
Sets the graticule's starting tick longitude/latitude.
fig.update_geos(lonaxis=dict(...))
fig.update_geos(lonaxis_dtick=<VALUE>)
Sets the graticule's longitude/latitude tick step.
fig.update_geos(lonaxis_gridcolor=<VALUE>)
"#eee"
Sets the graticule's stroke color.
fig.update_geos(lonaxis_griddash=<VALUE>)
"solid"
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
fig.update_geos(lonaxis_gridwidth=<VALUE>)
1
Sets the graticule's stroke width (in px).
fig.update_geos(lonaxis_range=list(...))
Sets the range of this axis (in degrees), sets the map's clipped coordinates.
fig.update_geos(lonaxis_showgrid=<VALUE>)
Sets whether or not graticule are shown on the map.
fig.update_geos(lonaxis_tick0=<VALUE>)
0
Sets the graticule's starting tick longitude/latitude.
fig.update_geos(oceancolor=<VALUE>)
"#3399FF"
Sets the ocean color
fig.update_geos(projection=dict(...))
fig.update_geos(projection_distance=<VALUE>)
2
For satellite projection type only. Sets the distance from the center of the sphere to the point of view as a proportion of the sphere’s radius.
fig.update_geos(projection_parallels=list(...))
For conic projection types only. Sets the parallels (tangent, secant) where the cone intersects the sphere.
fig.update_geos(projection_rotation=dict(...))
fig.update_geos(projection_rotation_lat=<VALUE>)
Rotates the map along meridians (in degrees North).
fig.update_geos(projection_rotation_lon=<VALUE>)
Rotates the map along parallels (in degrees East). Defaults to the center of the `lonaxis.range` values.
fig.update_geos(projection_rotation_roll=<VALUE>)
Roll the map (in degrees) For example, a roll of "180" makes the map appear upside down.
fig.update_geos(projection_scale=<VALUE>)
1
Zooms in or out on the map view. A scale of "1" corresponds to the largest zoom level that fits the map's lon and lat ranges.
fig.update_geos(projection_tilt=<VALUE>)
0
For satellite projection type only. Sets the tilt angle of perspective projection.
fig.update_geos(projection_type=<VALUE>)
"airy"
| "aitoff"
| "albers"
| "albers usa"
| "august"
| "azimuthal equal area"
| "azimuthal equidistant"
| "baker"
| "bertin1953"
| "boggs"
| "bonne"
| "bottomley"
| "bromley"
| "collignon"
| "conic conformal"
| "conic equal area"
| "conic equidistant"
| "craig"
| "craster"
| "cylindrical equal area"
| "cylindrical stereographic"
| "eckert1"
| "eckert2"
| "eckert3"
| "eckert4"
| "eckert5"
| "eckert6"
| "eisenlohr"
| "equal earth"
| "equirectangular"
| "fahey"
| "foucaut"
| "foucaut sinusoidal"
| "ginzburg4"
| "ginzburg5"
| "ginzburg6"
| "ginzburg8"
| "ginzburg9"
| "gnomonic"
| "gringorten"
| "gringorten quincuncial"
| "guyou"
| "hammer"
| "hill"
| "homolosine"
| "hufnagel"
| "hyperelliptical"
| "kavrayskiy7"
| "lagrange"
| "larrivee"
| "laskowski"
| "loximuthal"
| "mercator"
| "miller"
| "mollweide"
| "mt flat polar parabolic"
| "mt flat polar quartic"
| "mt flat polar sinusoidal"
| "natural earth"
| "natural earth1"
| "natural earth2"
| "nell hammer"
| "nicolosi"
| "orthographic"
| "patterson"
| "peirce quincuncial"
| "polyconic"
| "rectangular polyconic"
| "robinson"
| "satellite"
| "sinu mollweide"
| "sinusoidal"
| "stereographic"
| "times"
| "transverse mercator"
| "van der grinten"
| "van der grinten2"
| "van der grinten3"
| "van der grinten4"
| "wagner4"
| "wagner6"
| "wiechel"
| "winkel tripel"
| "winkel3"
)
Sets the projection type.
fig.update_geos(resolution=<VALUE>)
"110"
| "50"
) "110"
Sets the resolution of the base layers. The values have units of km/mm e.g. 110 corresponds to a scale ratio of 1:110,000,000.
fig.update_geos(rivercolor=<VALUE>)
"#3399FF"
Sets color of the rivers.
fig.update_geos(riverwidth=<VALUE>)
1
Sets the stroke width (in px) of the rivers.
fig.update_geos(scope=<VALUE>)
"africa"
| "antarctica"
| "asia"
| "europe"
| "north america"
| "oceania"
| "south america"
| "usa"
| "world"
) "world"
Set the scope of the map.
fig.update_geos(showcoastlines=<VALUE>)
Sets whether or not the coastlines are drawn.
fig.update_geos(showcountries=<VALUE>)
Sets whether or not country boundaries are drawn.
fig.update_geos(showframe=<VALUE>)
Sets whether or not a frame is drawn around the map.
fig.update_geos(showlakes=<VALUE>)
Sets whether or not lakes are drawn.
fig.update_geos(showland=<VALUE>)
Sets whether or not land masses are filled in color.
fig.update_geos(showocean=<VALUE>)
Sets whether or not oceans are filled in color.
fig.update_geos(showrivers=<VALUE>)
Sets whether or not rivers are drawn.
fig.update_geos(showsubunits=<VALUE>)
Sets whether or not boundaries of subunits within countries (e.g. states, provinces) are drawn.
fig.update_geos(subunitcolor=<VALUE>)
"#444"
Sets the color of the subunits boundaries.
fig.update_geos(subunitwidth=<VALUE>)
1
Sets the stroke width (in px) of the subunits boundaries.
fig.update_geos(uirevision=<VALUE>)
Controls persistence of user-driven changes in the view (projection and center). Defaults to `layout.uirevision`.
fig.update_geos(visible=<VALUE>)
True
Sets the default visibility of the base layers.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4