geomappy.plot_utils.plot_world

geomappy.plot_utils.plot_world(bounds: tuple[float, float, float, float], bounds_projection: ~cartopy.crs.Projection = <Projected CRS: +proj=eqc +ellps=WGS84 +a=6378137.0 +lon_0=0.0 +to ...> Name: unknown Axis Info [cartesian]: - E[east]: Easting (unknown) - N[north]: Northing (unknown) - h[up]: Ellipsoidal height (metre) Area of Use: - undefined Coordinate Operation: - name: unknown - method: Equidistant Cylindrical Datum: Unknown based on WGS 84 ellipsoid - Ellipsoid: WGS 84 - Prime Meridian: Greenwich ) GeoAxes

Plot a world map with specified bounding box highlighted.

Parameters:
  • bounds (tuple of four floats) – Bounding box to highlight: (minx, miny, maxx, maxy).

  • bounds_projection (cartopy.crs.Projection, optional) – Projection of the bounding box coordinates. Default is PlateCarree.

Returns:

The map axes containing the world map and bounding box.

Return type:

cartopy.mpl.geoaxes.GeoAxes