I am defining my own Locator class to determine where matplotlib should place the ticks on the x axis. I have managed do so, except for one problem. In order to determine the position of the ticks on the x-axis, I not only need the x axis range, which I can retrieve with self.axis.get_view_interval(), but I also need the y-axis range, or at least the y position of the x-axis. Is this something that can be done, and if so, how?
Thank you for any help!