Add an inset indicator rectangle to the Axes based on the axis limits for an *inset_ax* and draw connectors between *inset_ax* and the rectangle. Warnings -------- This method is experimental as of 3.0, and the API may change. Parameters
(self, inset_ax, **kwargs)
| 512 | return indicator_patch |
| 513 | |
| 514 | def indicate_inset_zoom(self, inset_ax, **kwargs): |
| 515 | """ |
| 516 | Add an inset indicator rectangle to the Axes based on the axis |
| 517 | limits for an *inset_ax* and draw connectors between *inset_ax* |
| 518 | and the rectangle. |
| 519 | |
| 520 | Warnings |
| 521 | -------- |
| 522 | This method is experimental as of 3.0, and the API may change. |
| 523 | |
| 524 | Parameters |
| 525 | ---------- |
| 526 | inset_ax : `.Axes` |
| 527 | Inset Axes to draw connecting lines to. Two lines are |
| 528 | drawn connecting the indicator box to the inset Axes on corners |
| 529 | chosen so as to not overlap with the indicator box. |
| 530 | |
| 531 | **kwargs |
| 532 | Other keyword arguments are passed on to `.Axes.indicate_inset` |
| 533 | |
| 534 | Returns |
| 535 | ------- |
| 536 | inset_indicator : `.inset.InsetIndicator` |
| 537 | An artist which contains |
| 538 | |
| 539 | inset_indicator.rectangle : `.Rectangle` |
| 540 | The indicator frame. |
| 541 | |
| 542 | inset_indicator.connectors : 4-tuple of `.patches.ConnectionPatch` |
| 543 | The four connector lines connecting to (lower_left, upper_left, |
| 544 | lower_right upper_right) corners of *inset_ax*. Two lines are |
| 545 | set with visibility to *False*, but the user can set the |
| 546 | visibility to True if the automatic choice is not deemed correct. |
| 547 | |
| 548 | .. versionchanged:: 3.10 |
| 549 | Previously the rectangle and connectors tuple were returned. |
| 550 | """ |
| 551 | |
| 552 | return self.indicate_inset(None, inset_ax, **kwargs) |
| 553 | |
| 554 | @_docstring.interpd |
| 555 | def secondary_xaxis(self, location, functions=None, *, transform=None, **kwargs): |