通过这种方式,lendgend()会从artist中获取label属性,并自动生成图例,比如: ... HandlerTuple p1, = plt.plot([1, 2.5, 3], 'r-d') p2, = plt.plot([3, 2, 1], ...
確定! 回上一頁