matplotlib.axes — Matplotlib 3.5.1 documentation
matplotlib.org › stable › apiThe Axes instance supports callbacks through a callbacks attribute which is a CallbackRegistry instance. The events you can connect to are 'xlim_changed' and 'ylim_changed' and the callback will be called with func(ax) where ax is the Axes instance. Attributes dataLim Bbox. The bounding box enclosing all data displayed in the Axes. viewLim Bbox