Version 2.2.3
matplotlib

matplotlib.artist.Artist.set_gid

Artist.set_gid(gid)[source]

Sets the (group) id for the artist.

Parameters:

gid : str