It is very simple. After plotting the label, you can simply change the rotation:
from matplotlib import pyplot as plt
plt.ion()
plt.plot([1,2,3])
h = plt.ylabel('y')
h.set_rotation(0)
plt.draw()
Alternatively, you can pass the rotation as an argument, i.e
plt.ylabel('y',rotation=0)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…