Whenever the Axes state change, ``func(self)`` will be called.
(self, func)
| 3352 | self.stale = True |
| 3353 | |
| 3354 | def add_axobserver(self, func): |
| 3355 | """Whenever the Axes state change, ``func(self)`` will be called.""" |
| 3356 | # Connect a wrapper lambda and not func itself, to avoid it being |
| 3357 | # weakref-collected. |
| 3358 | self._axobservers.connect("_axes_change_event", lambda arg: func(arg)) |
| 3359 | |
| 3360 | def savefig(self, fname, *, transparent=None, **kwargs): |
| 3361 | """ |
no test coverage detected