Set the offset for the title either from :rc:`axes.titlepad` or from set_title kwarg ``pad``.
(self, title_offset_points)
| 1593 | return self.patch.set_facecolor(color) |
| 1594 | |
| 1595 | def _set_title_offset_trans(self, title_offset_points): |
| 1596 | """ |
| 1597 | Set the offset for the title either from :rc:`axes.titlepad` |
| 1598 | or from set_title kwarg ``pad``. |
| 1599 | """ |
| 1600 | self.titleOffsetTrans = mtransforms.ScaledTranslation( |
| 1601 | 0.0, title_offset_points / 72, |
| 1602 | self.get_figure(root=False).dpi_scale_trans) |
| 1603 | for _title in (self.title, self._left_title, self._right_title): |
| 1604 | _title.set_transform(self.transAxes + self.titleOffsetTrans) |
| 1605 | _title.set_clip_box(None) |
| 1606 | |
| 1607 | def set_prop_cycle(self, *args, **kwargs): |
| 1608 | """ |
no test coverage detected