I am trying to add some text to a figure that I would like to align with thexlabelof the axes. I want to find the coordinates of thexlabel, but the functionax.get_xlabel()only returns the string displayed in the label.
How can I get access to thexlabelobject (which I assume is just an instance of text) to find its coordinates, or is there some other means of obtaining them?
set_xlabel()andget_xlabel()which only operate on the string valueax.xaxis.get_label(). Thanks!