以下代码创建一个带有标题的图例。
from pylab import * plt.plot([1,2],[2,3],label='sdfsdf') legend(title='s')
's' 位于图例的中心。 我想知道如何将 's' 放在左侧。
matplotlib
matplotlib ×1