Any idea why the ylabel isn't center justified and how I might go about centering it?
Rendering text with LaTeX (text.usetex: True
)
ylabel('Soil Moisture Sensitivity,\n(0.01 K m$^3$ m$^{-3}$)')
Tried adding \centering, didn't work.
Any idea why the ylabel isn't center justified and how I might go about centering it?
Rendering text with LaTeX (text.usetex: True
)
ylabel('Soil Moisture Sensitivity,\n(0.01 K m$^3$ m$^{-3}$)')
Tried adding \centering, didn't work.
你试过了吗
ylabel('Soil Moisture Sensitivity,\n(0.01 K m$^3$ m$^{-3}$)', multialignment='center')
?
如此处所示:http: //matplotlib.sourceforge.net/examples/pylab_examples/multiline.html