Get the bounding boxes for this `.axis` and its siblings as set by `.Figure.align_xlabels` or `.Figure.align_ylabels`. By default, it just gets bboxes for *self*.
(self, renderer)
| 2383 | return result |
| 2384 | |
| 2385 | def _get_tick_boxes_siblings(self, renderer): |
| 2386 | """ |
| 2387 | Get the bounding boxes for this `.axis` and its siblings |
| 2388 | as set by `.Figure.align_xlabels` or `.Figure.align_ylabels`. |
| 2389 | |
| 2390 | By default, it just gets bboxes for *self*. |
| 2391 | """ |
| 2392 | # Get the Grouper keeping track of x or y label groups for this figure. |
| 2393 | name = self._get_axis_name() |
| 2394 | if name not in self.get_figure(root=False)._align_label_groups: |
| 2395 | return [], [] |
| 2396 | grouper = self.get_figure(root=False)._align_label_groups[name] |
| 2397 | bboxes = [] |
| 2398 | bboxes2 = [] |
| 2399 | # If we want to align labels from other Axes: |
| 2400 | for ax in grouper.get_siblings(self.axes): |
| 2401 | axis = ax._axis_map[name] |
| 2402 | ticks_to_draw = axis._update_ticks() |
| 2403 | tlb, tlb2 = axis._get_ticklabel_bboxes(ticks_to_draw, renderer) |
| 2404 | bboxes.extend(tlb) |
| 2405 | bboxes2.extend(tlb2) |
| 2406 | return bboxes, bboxes2 |
| 2407 | |
| 2408 | def _update_label_position(self, renderer): |
| 2409 | """ |
no test coverage detected