(self, renderer=None)
| 1080 | return bbox |
| 1081 | |
| 1082 | def get_tightbbox(self, renderer=None): |
| 1083 | if not self.get_visible() or self.get_text() == "": |
| 1084 | return Bbox.null() |
| 1085 | # Exclude text at data coordinates outside the valid domain of the axes |
| 1086 | # scales (e.g., negative coordinates with a log scale). |
| 1087 | if (self.axes |
| 1088 | and self.get_transform() == self.axes.transData |
| 1089 | and not self.axes._point_in_data_domain(*self.get_unitless_position())): |
| 1090 | return Bbox.null() |
| 1091 | return super().get_tightbbox(renderer) |
| 1092 | |
| 1093 | def set_backgroundcolor(self, color): |
| 1094 | """ |
no test coverage detected