plotly.graph_objects.layout.map package

class plotly.graph_objects.layout.map.Bounds(arg=None, east=None, north=None, south=None, west=None, **kwargs)

Bases: plotly.basedatatypes.BaseLayoutHierarchyType

property east

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

Return type

int|float

property north

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

Return type

int|float

property south

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

Return type

int|float

property west

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

Return type

int|float

class plotly.graph_objects.layout.map.Center(arg=None, lat=None, lon=None, **kwargs)

Bases: plotly.basedatatypes.BaseLayoutHierarchyType

property lat

Sets the latitude of the center of the map (in degrees North).

The ‘lat’ property is a number and may be specified as:
  • An int or float

Returns

Return type

int|float

property lon

Sets the longitude of the center of the map (in degrees East).

The ‘lon’ property is a number and may be specified as:
  • An int or float

Returns

Return type

int|float

class plotly.graph_objects.layout.map.Domain(arg=None, column=None, row=None, x=None, y=None, **kwargs)

Bases: plotly.basedatatypes.BaseLayoutHierarchyType

property column

If there is a layout grid, use the domain for this column in the grid for this map subplot .

The ‘column’ property is a integer and may be specified as:
  • An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]

Returns

Return type

int

property row

If there is a layout grid, use the domain for this row in the grid for this map subplot .

The ‘row’ property is a integer and may be specified as:
  • An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]

Returns

Return type

int

property x
Sets the horizontal domain of this map subplot (in plot

fraction).

The ‘x’ property is an info array that may be specified as:

  • a list or tuple of 2 elements where:

  1. The ‘x[0]’ property is a number and may be specified as:
    • An int or float in the interval [0, 1]

  2. The ‘x[1]’ property is a number and may be specified as:
    • An int or float in the interval [0, 1]

    list

property y
Sets the vertical domain of this map subplot (in plot

fraction).

The ‘y’ property is an info array that may be specified as:

  • a list or tuple of 2 elements where:

  1. The ‘y[0]’ property is a number and may be specified as:
    • An int or float in the interval [0, 1]

  2. The ‘y[1]’ property is a number and may be specified as:
    • An int or float in the interval [0, 1]

    list

class plotly.graph_objects.layout.map.Layer(arg=None, below=None, circle=None, color=None, coordinates=None, fill=None, line=None, maxzoom=None, minzoom=None, name=None, opacity=None, source=None, sourceattribution=None, sourcelayer=None, sourcetype=None, symbol=None, templateitemname=None, type=None, visible=None, **kwargs)