Version 3.1.2
matplotlib

matplotlib.artist.Artist.set_gid

Artist.set_gid(gid)[source]

Set the (group) id for the artist.

Parameters:gid : str