line, = ax.plot([1, 2, 3]) line.set_label('Label via method') ax.legend() Copy to clipboard. 通过定义以下划线开头的标签,可以从自动图例元素选择中排除特定行 ...
確定! 回上一頁