📜  将图例放入额外的子图中 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:49.559000             🧑  作者: Mango

代码示例1
handles, labels = ax.get_legend_handles_labels()
fig.legend(handles, labels, loc='upper center')