Version 3.1.2
matplotlib

matplotlib.artist.Artist.get_gid

Artist.get_gid()[source]

Return the group id.