Restores the state that was previously saved with :meth:`~.Mobject.save_state`.
(self)
| 2122 | return self |
| 2123 | |
| 2124 | def restore(self) -> Self: |
| 2125 | """Restores the state that was previously saved with :meth:`~.Mobject.save_state`.""" |
| 2126 | if not hasattr(self, "saved_state") or self.save_state is None: |
| 2127 | raise Exception("Trying to restore without having saved") |
| 2128 | self.become(self.saved_state) |
| 2129 | return self |
| 2130 | |
| 2131 | def reduce_across_dimension(self, reduce_func: Callable, dim: int): |
| 2132 | """Find the min or max value from a dimension across all points in this and submobjects.""" |
no test coverage detected