I would like to use the coordinate system of the figure, not the axis, to set the coordinates of the axis labels (or if this is not possible, at least in some kind of absolute coordinate system).
In other words, I would like the label to be in the same position for these two examples:
import matplotlib.pyplot as plt from pylab import axes plt.figure().show() ax = axes([.2, .1, .7, .8]) ax.plot([1, 2], [1, 2]) ax.set_ylabel('BlaBla') ax.yaxis.set_label_coords(-.1, .5) plt.draw() plt.figure().show() ax = axes([.2, .1, .4, .8]) ax.plot([1, 2], [1, 2]) ax.set_ylabel('BlaBla') ax.yaxis.set_label_coords(-.1, .5) plt.draw() plt.show()
Is this possible in matplotlib?

magu_ source share