我想减少图例列之间的空间(附图中显示了一个示例)。所以,我想做的是,
[前]
(对称)A ------ (对称)B ------ (对称)C ------ (对称)D
[后]
(对称)A -- (对称)B -- (对称)C -- (对称)D
有办法做到吗?(例如,plt.legend(ncol=4, [a hidden parameter??]))
plt.legend(ncol=4, [a hidden parameter??])
谢谢!
当前输出的图像:
python matplotlib legend
legend ×1
matplotlib ×1
python ×1