add_temporary_artist

pick.add_temporary_artist(artist, layer=None)

Make an artist temporary (remove it from the map at the next event).

Parameters:
  • artist (matplotlib.artist) – The artist to use

  • layer (str or None, optional) – The layer to put the artist on. If None, the layer of the used Maps-object is used. (e.g. m.layer)