Version 3.1.2
matplotlib

matplotlib.axes.Axes.get_label

Axes.get_label()

Return the label used for this artist in the legend.