Add a `.Text` to the Axes; return the text.
(self, txt)
| 2467 | return line |
| 2468 | |
| 2469 | def _add_text(self, txt): |
| 2470 | """ |
| 2471 | Add a `.Text` to the Axes; return the text. |
| 2472 | """ |
| 2473 | _api.check_isinstance(mtext.Text, txt=txt) |
| 2474 | self._set_artist_props(txt) |
| 2475 | self._children.append(txt) |
| 2476 | txt._remove_method = self._children.remove |
| 2477 | self.stale = True |
| 2478 | return txt |
| 2479 | |
| 2480 | def _point_in_data_domain(self, x, y): |
| 2481 | """ |
no test coverage detected