add_bg_artistο
- BM.add_bg_artist(art, layer=None, draw=True)ο
Add a background-artist to be managed. (Background artists are only updated on zoom-events⦠they are NOT animated!)
- 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.
draw (bool, optional) β If True, figure.draw_idle() is called after adding the artist. The default is True.