Maps.add_background_patch#

Maps.add_background_patch(color, layer=None, **kwargs)#

Add a background-patch for the map.

Useful for overlapping axes if you don’t want to “see-through” the top map.

Parameters:
  • color (str, rgba tuple) – The color of the patch.

  • layer (str, optional) – The layer to use. If None, the layer assigned to the Maps-object is used. The default is None.

  • kwargs – All additional kwargs are passed to the created Patch. (e.g. alpha, hatch, …)

Returns:

art – DESCRIPTION.

Return type:

TYPE