How to print Y axis label horizontally in a matplotlib / pylab chart?
It is very simple. After plotting the label, you can simply change the rotation: import matplotlib.pyplot as plt plt.ion() plt.plot([1, 2, 3]) plt.ylabel(“y”, rotation=0) # or # h = plt.ylabel(“y”) # h.set_rotation(0) plt.draw()