matplotlib

matplotlib.artist.Artist.set_gid

Artist.set_gid(gid)

Sets the (group) id for the artist.

Parameters:

gid : str