Matplotlib 3.0 Cookbook
上QQ阅读APP看书,第一时间看更新

Legend

When there are multiple graphs in the axes (as in the preceding figure Anatomy of a figure), each of them has its own label, and all these labels are represented as a legend. In the preceding figure, the legend is placed at the top-right corner of the figure.