fetch_bg

BM.fetch_bg(layer=None, bbox=None)

Trigger fetching (and caching) the background for a given layer-name.

Parameters:
  • layer (str, optional) – The layer for which the background should be fetched. If None, the currently visible layer is fetched. The default is None.

  • bbox (bbox, optional) – The region-boundaries (in figure coordinates) for which the background should be fetched (x0, y0, w, h). If None, the whole figure is fetched. The default is None.