set_extent

Maps.set_extent(extents, crs=None)

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

If no crs is given, the extents’ coordinate system will be assumed to be the Geodetic version of this axes’ projection.

Parameters:

extents – Tuple of floats representing the required extent (x0, x1, y0, y1).