我有一个python图例标签
legend2 = ax.legend([r],['%.2f x + %.2f y + %.2f = z' % (2, 3, 4)],
loc = 'lower left', bbox_to_anchor = (-0.05,-0.06),
handletextpad = 0, handlelength =0, prop ={'size':12})
我要在其中加粗字母“ x”,“ y”和“ z”,以便标签为
2 x + 3 y + 4 = z
我该怎么做?谢谢。