update

BM.update(layers=None, bbox_bounds=None, bg_layer=None, artists=None, clear=False, blit=True, clear_snapshot=True)

Update the screen with animated artists.

Parameters:
  • layers (list, optional) – The layers to redraw (if None and artists is None, all layers will be redrawn). The default is None.

  • bbox_bounds (tuple, optional) – the blit-region bounds to update. The default is None.

  • bg_layer (int, optional) – the background-layer name to restore. The default is None.

  • artists (list, optional) – A list of artists to update. If provided NO layer will be automatically updated! The default is None.

  • clear (bool, optional) – If True, all temporary artists tagged for removal will be cleared. The default is False.

  • blit (bool, optional) – If True, figure.cavas.blit() will be called to update the figure. If False, changes will only be visible on the next blit-event! The default is True.

  • clear_snapshot (bool, optional) –

    Only relevant if the inline backend is used in a jupyter-notebook or an Ipython console.

    If True, clear the active cell before plotting a snapshot of the figure. The default is True.