matplotlib.axes.Axes.get_legend

Axes.get_legend()

返回 Legend 实例,如果未定义任何图例,则为无。

使用实例 matplotlib.axes.Axes.get_legend