bbox_to_anchor 关键字可让用户手动控制图例布局。 ... 将图例放到这个子图上方, # 扩展自身来完全利用提供的边界框。 plt.legend(bbox_to_anchor=(0., 1.02, 1., ...
確定! 回上一頁