Version 2.2.3
matplotlib

matplotlib.artist.Artist.get_gid

Artist.get_gid()[source]

Returns the group id.