set_bounds

GridLines.set_bounds(bounds)

Set the extent of the area in which gridlines are drawn.

Parameters:

bounds (tuple or None) – A tuple of boundaries in the form: (lon_min, lon_max, lat_min, lat_max). If None, global boundaries are used (e.g. (-180, 180, -90, 90))