Matplotlib: Finding out xlim and ylim after zoom
matplotlib has an event handling API you can use to hook in to actions like the ones you’re referring to. The Event Handling page gives an overview of the events API, and there’s a (very) brief mention of the x- and y- limits events on the Axes page. The Axes instance supports callbacks through a … Read more