add_artist

BM.add_artist(art, layer=None)

Add a dynamic-artist to be managed. (Dynamic artists are re-drawn on every update!)

Parameters:
  • art (Artist) – The artist to be added. Will be set to β€˜animated’ (just to be safe). art must be in the figure associated with the canvas this class is managing.

  • layer (str or None, optional) –

    The layer name at which the artist should be drawn.

    • If β€œall”: the corresponding feature will be added to ALL layers

    The default is None in which case the layer of the base-Maps object is used.