Update the offset_text position based on the sequence of bounding boxes of all the ticklabels
(self, bboxes, bboxes2)
| 1965 | ) |
| 1966 | |
| 1967 | def _update_offset_text_position(self, bboxes, bboxes2): |
| 1968 | """ |
| 1969 | Update the offset_text position based on the sequence of bounding |
| 1970 | boxes of all the ticklabels |
| 1971 | """ |
| 1972 | x, y = self.offsetText.get_position() |
| 1973 | if not len(bboxes): |
| 1974 | bottom = self.axes.bbox.ymin |
| 1975 | else: |
| 1976 | bbox = mtransforms.Bbox.union(bboxes) |
| 1977 | bottom = bbox.y0 |
| 1978 | self.offsetText.set_position( |
| 1979 | (x, bottom - self.OFFSETTEXTPAD * self.figure.dpi / 72) |
| 1980 | ) |
| 1981 | |
| 1982 | def get_text_heights(self, renderer): |
| 1983 | """ |
nothing calls this directly
no test coverage detected