set_extent

Maps.set_extent(extents, crs=None)

Set the extent (x0, x1, y0, y1) of the map in the given coordinate system.

Parameters:
  • extent (array-like) – The extent in the given crs (x0, x1, y0, y1).

  • crs (a crs identifier, optional) –

    The coordinate-system in which the extent is evaluated.

    • if None, epsg=4326 (e.g. lon/lat projection) is used

    The default is None.