Set the `.Figure` for the `.OffsetBox` and all its children. Parameters ---------- fig : `~matplotlib.figure.Figure`
(self, fig)
| 219 | self._offset = (0, 0) |
| 220 | |
| 221 | def set_figure(self, fig): |
| 222 | """ |
| 223 | Set the `.Figure` for the `.OffsetBox` and all its children. |
| 224 | |
| 225 | Parameters |
| 226 | ---------- |
| 227 | fig : `~matplotlib.figure.Figure` |
| 228 | """ |
| 229 | super().set_figure(fig) |
| 230 | for c in self.get_children(): |
| 231 | c.set_figure(fig) |
| 232 | |
| 233 | @martist.Artist.axes.setter |
| 234 | def axes(self, ax): |
no test coverage detected